call_func()

new topic     » topic index » view thread      » older message » newer message

Hello All,

Can anyone give me a clear example of call_func().

I can't seem to find one in the examples.

I found:

E:\EU\win32lib\Demo\hash.e(547):

lCallBackResult = call_func(sMode, {sKey, f_Fetch(),  
sNewEntry}) 
 

But I don't understand this.

If someone could parse this line, I would appreciate it.

The following is the code I'm trying convert to call_func()

function Routine(integer x) 
  SOURCE=mytrim(getText(EditText2)) 
  TARGET=mytrim(getText(EditText3)) 
    too=TARGET&Dir[x] 
    printf(1,"too=>>%s<<\n",{too}) 
    from=sprintf(SOURCE&"%s",{Dir[x]}) 
    printf(1,"from=>>%s<<\n",{from}) 
    printf(1,"SOURCE%s\n",{SOURCE}) 
    return {from,too} 
end function 

Any help on this would also be appreciated.

Thank you, Don Cole

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu