@Valerax Thankyou
Sometimes previous changes are lost in a function
-
@nicck said in Sometimes previous changes are lost in a function:
While working on a script, i noticed sometimes all the code blocks are vanished for a function and it becomes a blank function. This happened like 5-10 times. Does anyone know why it happens and a solution for it ?
Do you use any code in the action comments? The BAS interface is written in html and comments can be interpreted as part of the layout
https://community.bablosoft.com/topic/16929/что-за-баг-пропало-всё-что-ниже-свёртки
https://community.bablosoft.com/topic/9577/незакрытые-тэги-в-комментариях -
@nicck said in Sometimes previous changes are lost in a function:
@Fox No, i never used comments in action. Can it be due to Android manager module or some other module ?
It's more like fortune-telling on coffee grounds. Attach the problematic project where the actions disappeared
-
@nicck said in Sometimes previous changes are lost in a function:
@Fox Yes it seems like fortune telling but i cannot attach it as it is private. Any other hints you can provide to fix ?
Ok, I spent some mana and I had a vision that you might be using a code somewhere in your expressions that contains the following sequence of characters
]]>(link), for example, in the action "If"[[VARIABLE]]>0. To fix it, just add a space between the characters]] >, which would work, for example, in the action "If"[[VARIABLE]] > 0