Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1747

SDK QPuts or Command

$
0
0
As I continue to learn more about using the functions in TakeCmd.dll with PureBasic,
I was wondering what the advantages are of using QPuts instead of Command for displaying output.

As an example,
Command allows me to expand TCC internal variables before output;
Code:
If Len(theArg) = 0
    Command_("echo USAGE: Test %_year-1960",0)
    ProcedureReturn #Null 
  Else
    Evaluate_(*lpszString)
  
    theResult = PeekS(*lpszString)
    
    Command_("echo " + theResult...

Read more

Viewing all articles
Browse latest Browse all 1747