При попытке описать функцию или метод (pml в к

 
Parents
  • to pvaladares[COLOR=#3E3E3E] : Спасибо. Действительно у меня в коде ошибка. НО результат все тот-же.

    to [/COLOR][COLOR=#417394]me_hungry : В том-то и дело, что есть файл, в котором это хранится и pml rehash all делал.
    Например у меня файл: C:\AVEVA\Plant\PDMS12.0.SP6\PMLLIB\hello.pmlfrm

    setup form !!hello
    title 'ПРИВЕТ МИР'
    paragraph .Message width 15 height 1
    text .capture 'Enter message' width 15 is STRING
    button .bye 'Goodbye' OK
    exit


    define method .hello()
    -- default constructor - set gadget load-time default
    values
    !this.message.val = 'Hello world'
    !this.capture.callback = '!this.message.val = !this.capture.val'
    !this.Okcall = '!this.success()'
    endmethod


    define method .success()
    -- action when OK button is pressed
    !this.message.val = 'Hello again'
    !this.capture.val = ''
    endmethod
    --------------------------------------------------------------------------------

    Так из него только форма грузится, а остальное нет?
    К стати файл из примера в документации по AVEVA: C:\AVEVA\Plant\PDMS12.0.SP6\Manuals\Docs\Software Customisation Guide.pdf Параграф 13.7
    [/COLOR]
Reply
  • to pvaladares[COLOR=#3E3E3E] : Спасибо. Действительно у меня в коде ошибка. НО результат все тот-же.

    to [/COLOR][COLOR=#417394]me_hungry : В том-то и дело, что есть файл, в котором это хранится и pml rehash all делал.
    Например у меня файл: C:\AVEVA\Plant\PDMS12.0.SP6\PMLLIB\hello.pmlfrm

    setup form !!hello
    title 'ПРИВЕТ МИР'
    paragraph .Message width 15 height 1
    text .capture 'Enter message' width 15 is STRING
    button .bye 'Goodbye' OK
    exit


    define method .hello()
    -- default constructor - set gadget load-time default
    values
    !this.message.val = 'Hello world'
    !this.capture.callback = '!this.message.val = !this.capture.val'
    !this.Okcall = '!this.success()'
    endmethod


    define method .success()
    -- action when OK button is pressed
    !this.message.val = 'Hello again'
    !this.capture.val = ''
    endmethod
    --------------------------------------------------------------------------------

    Так из него только форма грузится, а остальное нет?
    К стати файл из примера в документации по AVEVA: C:\AVEVA\Plant\PDMS12.0.SP6\Manuals\Docs\Software Customisation Guide.pdf Параграф 13.7
    [/COLOR]
Children
No Data