FLDX obsolete

  • 26 January 2021
  • 2 replies
  • 58 views

Userlevel 2
Badge

I am using FLDX,FLDY to get the current field angle.

Now, I find in the Help: These commands are obsolete. See “SETSYSTEMPROPERTY, SYSP”.

But SETSYSTEMPROPERTY is to *set* properties of the system, not to *read* them. So how do I access the current field angle now?


  Best,

     Christof.


2 replies

Userlevel 4
Badge +1

Hi Christof,


Thank you for your post!


To 'read' the field value from current field data editor, you should use Numeric Function instead. There are two numeric functions, FLDX() and FLDY() that will return the field values from the Field Data Editor. You can find this described in the Help File at The Programming Tab > About the ZPL > Numeric Functions



Let me know if you have any questions.


Best regards,


Hui

Userlevel 2
Badge

Hi Hui,


Yes FLDX() and FLDY() are exactly the numeric functions I am using. I found them in an old script of mine. When I wanted to remind myself on the use of these functions, I found in the help that they are obsolete. So I guess there once was a keyword FLDX without () which is obsolete, while the function FLDX() is not obsolete.


Thank you and best regards,

Christof.

Reply