PowerHome includes a number of PowerHome specific functions that extend the Windows Script Host environment and allows it to interact with PowerHome. Nearly ALL of the PowerHome "ph_" functions (only the functions that start with ph_ are extended to WSH) are available in a Windows Script Host version. For example, the ph_addtoglobal function available within the PowerHome internal formula environment is also available within Windows Script Host as ph.addtoglobal. Instead of duplicating every function listed in this Help file under the Formulas->Functions section ( Formula Functions) under the Windows Script Host functions, this section will only document the differences in between the two. To use a "ph_" function within Windows Script Host, you just have to change the "ph_" to "ph.".
Listed below are the differences:
ph_ Formula function | Windows Script Host equivalent |
ph_and | ph.bitand |
ph_not | ph.lognot |
ph_or | ph.bitor |
ph_xor | ph.bitxor |
ph_debuginfo | Not available |
ph_fromunixtime | Not available |
ph_isnull | Not available |
ph_n2b | Not available |
ph_stacktrace | Not available |
ph_tounixtime | Not available |
ph_tracemsg | Not available |
ph_traceoff | Not available |
ph_traceon | Not available |