| |
|
|
Michael W. | has itself with PType$() of a or others Error eingeschlichen, or is the one feature...
' PType$ ought to time a little bit accurate described go.
/* The supplied PType$()-values
plainer worth, aray (dynamic), aray (dimensioniert)
%, %[], %[n] Integer (Int) &, &[], &[n] Longint (Long), lever (Pointer) !, ![], ![n] Float (double) $, $[], $[n] String Q, Q[], Q[n] Quadint (Quad) s, s[], s[n] Single W, µ[], µ[n] Widestring (Wide) !!! here becomes for aray one "micro"-characters staid !!! Q, H[], --- Hash (assoziatives aray) !!! here becomes without Klammer simply QUADINT staid !!!
b Memory (Mem) (area) s structure o Objekt */
' the Testprogramm cls
Proc test_Wide Parameters wide W[] ' supply µ (Micro) Print PType$(1) Return 0 ENDPROC
Proc test_Hash Parameters hash W ' fehlerhafte indicated (without clinging) becomes simply durchgewunken Print PType$(1) Return 0 ENDPROC
Declare wide W2[7,7,7] Declare hash W3
test_Wide( W2[] ) test_Hash( W3 )
WaitInput End
Greeting Michael Wodrich
P.s.: tested with X3.1 |
|
|
| System: Windows 8/10, XProfan X4 Programmieren, das spannendste Detektivspiel der Welt. | 02/03/17 ▲ |
|
|
|
|
Jörg Sellmeyer | |
|
| |
|
|
|
Michael W. | I had only the Hash with clinging tested with the vX4. is me means none noticed. |
|
|
| |
|
|
|
RGH | Hi,
the µ is the interne Kennzeichnung of Widestrings. I forgot, these with the PType-function in "W" To "übersetzen". the have I now nachgeholt and is in the next XProfan-Version fixed.
and a Hash-aray must naturally not as simple Variable declared go. its Yes always one aray. If one it at DECLARE and PARAMETERS with [] versieht, works it too with PType. there ought to naturally with missing clinging a Error Message erfolgen. too the have I soeben installed!
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 07/04/20 ▲ |
|
|
|