Printing to screen help
BlitzMax Forums/BlitzMax Beginners Area/Printing to screen help
| ||
Can i print variable values to anywhere on the screen?? If so, How ? thanks in advance. |
| ||
you mean like: DrawText (varName, 30, 100) varName = your var 30 = posX 100 = posY Also you can write: DrawText ("Life: " + varName, 30, 100) Will print out on screen at 30,100 the text: "Life: " and the value if varName Last edited 2012 |
| ||
If you want to print an `object`, such as an instance of a Type, you need to do something like:If (MyObject<>Null) then print "refers to an object" else print "is null" or something like that. |