AVEVA Community
AVEVA Community
  • Site
  • User
  • Site
  • Search
  • User
PDMS in Your Language
  • AVEVA World
PDMS in Your Language
PDMS em Português Conversão de tipos em PML2
  • Forums
  • Resources
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Replies 3 replies
  • Subscribers 1 subscriber
  • Views 5 views
  • Users 0 members are here
Options
  • Share
  • More
  • Cancel
Related

Conversão de tipos em PML2

avwf_cabralime827769
avwf_cabralime827769 over 15 years ago
 
  • Sign in to reply
  • Cancel
  • avwf_cabralime827769
    avwf_cabralime827769 over 15 years ago
    É possível realizar a conversão de tipos em PML2 ?
    Caso a resposta seja positiva, como fazer ?
    Quero evitar erros como o seguinte:

    (2,794)   Cannot assign to attribute.  Object must be of type
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Thiago Trigo
    Thiago Trigo over 15 years ago
    É possível transformar tipos em PML.
    Não me lembro a sintaxe exata, mas acredito que seja algo do tipo !variável.tipo_desejado(), por exemplo:
    !variavel.string()

    Voce pode ver a sintaxe exata nos Manual de Customisação de Software.

    Thiago
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • avwf_cabralime827769
    avwf_cabralime827769 over 15 years ago
    Obrigado, Thiago.
    É exatamente como vc falou.

    Abs
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel