Added Helpers library
This commit is contained in:
18
Examples/Helpers/HL_Safe.hws
Normal file
18
Examples/Helpers/HL_Safe.hws
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
***************************************
|
||||
*** Helpers.hws Example : HL.Safe() ***
|
||||
***************************************
|
||||
*/
|
||||
|
||||
@INCLUDE "../../+Includes.hws"
|
||||
@INCLUDE #INC_HELPERS
|
||||
|
||||
NPrint("HL.Safe Example")
|
||||
NPrint("---------------\n")
|
||||
|
||||
Local Uninitialized = Nil
|
||||
Local initialized = "Hello!"
|
||||
NPrint(HL.Safe(Uninitialized) .. " - " .. HL.Safe(Initialized))
|
||||
|
||||
NPrint("\n--- Left mouse button to quit ---")
|
||||
WaitLeftMouse()
|
Reference in New Issue
Block a user