Break line command beas script

Fabio

Hello everyone, a simple question that I didn't find the answer to, how do I break a select line in the beas script?

a simple example code

global function itemchangeuser
    select BplId from obpl where BPLName = N'<dw_1.item.bplname.value>'
    dw_1.item.match.value=<wert1>
 
    return true
end global


how would the line break of the select? I already tried to break the line with space, pipe |, double pipe ||, backslash \, underscore _, and nothing works.

global function itemchangeuser
    select BplId
from obpl
where BPLName = N'<dw_1.item.bplname.value>'

    dw_1.item.match.value=<wert1>
 
    return true
end global

 

Rgs

Fabio

Comments

2 comments

  • Comment author
    Jesús Medina

    Hello Fabio,

    In BeasScript you have to add symbol "&" at the end of the line to split one beasscript command in several lines.

    For your example you can write something like this:

     

    global function itemchangeuser
      select BplId &
    from obpl &
    where BPLName = N'<dw_1.item.bplname.value>'

        dw_1.item.match.value=<wert1>
     
        return true
    end global

    Regards,

    Jesús Medina

    0
  • Comment author
    Fabio

    it worked perfect, thanks.

    0

Please sign in to leave a comment.