PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 27 → [06/06/2008] Did you Know ?
[06/06/2008] Did you Know ?
Iniciado por The Free Technical Support Team, jun., 06 2008 9:20 PM - Sem resposta
Publicado em junho, 06 2008 - 9:20 PM
Hello,

You can include WLanguage code in the forum messages.
The tags #DEFCONSTPCS-CODEDEB# and #DEFCONSTPCS-CODEFIN# let you display WLanguage code.
When this code is displayed in the forum, the syntax coloring will be done automatically.

You type the following text when you write your message:
#DEFCONSTPCS-CODEDEB#
MyTable is array of 2 by 3 strings
ArrayAddLine(MyTable, "A", "B", "C")
ArrayAddLine(MyTable, "a", "b", "c")
ArrayAddLine(MyTable, "D", "E", "F")
// Display the content of the third line (the first two lines are empty)
Trace(MyTable[3,1], MyTable[3,2],MyTable[3,3])
// Display "A B C"
#DEFCONSTPCS-CODEFIN#

You will see:
MyTable is array of 2 by 3 strings
ArrayAddLine(MyTable, "A", "B", "C")
ArrayAddLine(MyTable, "a", "b", "c")
ArrayAddLine(MyTable, "D", "E", "F")
// Display the content of the third line (the first two lines are empty)
Trace(MyTable[3,1], MyTable[3,2],MyTable[3,3])
// Display "A B C"



---
Best regards,
The Free Technical Support Team