This is down to changes that were made for new versions of ZPE.
get_type (mixed o) ⇒ string
Returns the type of a variable stored in the memory or the type of a value. It's important to note
that comparing types of values should not be done by comparing the result of the get_type command against
a string value but it should be compared against another get_type function.
E.g. the first example following is not recommended but the second example is:
get_type([32, 44]) == "list"
get_type([32, 44]) == get_type()
Further to the above, this changed in version 1.7.x where the function would return LIST, INT, STRING, BOOLEAN etc as the return values rather than the word list, integer etc. Future versions may also change this or add types, thus, it is more effective to use the method described above.
Of course, this function is intended to be used with variables rather than comparing static values.
S1s and S2s really enjoyed the lesson on cybercrime using the lesson on How to Rob A Bank on… https://t.co/MxjDYE2JFu
7 months ago
S2s doing really well in hardware test! Also really enjoying doing tests electronically rather than on paper.… https://t.co/ritdfcW6Mw
7 months ago
S1 and S2 pupils listing input and output devices and giving answers such as keyboard and mouse but there were also… https://t.co/dGxDkYqFxo
8 months ago