Página 1 de 1

How to build non-forms?

Publicado: Sab Mar 06, 2010 4:09 pm
por Guest
Hi,
How do we build an executable without forms?
In other words, I just want to define a function, which can be called
from the command line or a hot key, which maybe takes a Rich Text string
from the clipboard, transforms it into a different Rich Text string, and
pastes the new string into the clipboard.
Or, to make it simpler, let's say we want a program to just compute the
product of 5 and 25:
Function ComputeTrivialProduct
Local cTrivialProduct := 5*25
Return cTrivialProduct
How do we build this without forms? It's easy enough to do it directly
with Harbour or xHarbour, but how do we do this with Xailer? I tried
writing the function after the Main() procedure; but where do you call
it from?
I've built about 12 applications in Xailer with forms (thanks, I love
Xailer), but am drawing a blank on how to just create an executable with
a main function, from Xailer. It's been a long time, since building
non-GUI functionality in Xailer.
Regards,
DC

How to build non-forms?

Publicado: Sab Mar 06, 2010 4:54 pm
por Guest
Never mind, got it.

How to build non-forms?

Publicado: Sab Mar 06, 2010 4:54 pm
por Guest
Never mind, got it.