|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > UserInterface > ActivityConsolePrint |
The command appends a passed message to the existing ActivityConsole content.
call DBWShell("ActivityConsolePrint message")
message |
The string to add to the existing Activity Console content. |
If any space is present in message string, it must be coded using the replace(...," ","|") function.
ActivityConsoleHide
ActivityConsoleCleanAll
ActivityConsolePrint
Sub main()
DBWInit(TRUE)
DBWShell("ActivityConsoleCleanAll")
msg1 = replace("this is a message"," ","|")
msg2 = replace("that has been written"," ","|")
msg3 = replace("on the console"," ","|")
DBWShell("ActivityConsolePrint " & msg1)
DBWShell("ActivityConsolePrint " & msg2)
DBWShell("ActivityConsolePrint " & msg3)
DBWMsgBox "The console will now be closed ..."
DBWShell("ActivityConsoleHide")
End Sub
