Bubble and Old main frames

Stucked for small code !
In 1982 I was working on university IBM main frame ; you write your code (in Pascal), then you submit, when you do you can go take lunch, or even sleep of 1-2 hourse before the IBM mainfame comback and return an error (:wink: is missing!! :upside_down_face:
I started with this story becuase for 2 comleted days I stucked with small code using Toolbox Javascript. I got an error โ€œ;โ€ token, I review 50 times, with no success; after I deleted 70% of my code; the error dissapread and got a new one: Bug in custom code ReferenceError: yes is not defined; although I donโ€™t have a yes at all; and consequently I deleted all if statements.
The tool does not give any indication where is the error, in addition I canโ€™t take my code to any JS code complier to check becuase it has daynamic data.
More worst when you change to Rich Text Editor and try to change even an index in dynamic data , the toot returned you back to its miserable editor.
We (all bubble useres) have to work together to force (yes force) bubble to have a way to include simple code in Python, C, or any language.
For your information I was in need to this code becuase I could not include formula at Repeating group index Just As Simple As this!
What I need is simply make element with index#x getting some data from element with index#y!
Frankly; while I was near to complete my first bubble App; and although I saved a lot of time using platform visualization; but this saved time can be consumed in double or tribble if you just need to do some backend calcaulations
Thnaks and sorry for this long post

@hmdhmd1976 Can you share the code block (JS Block)?

I think you are using dynamic parameters from bubble within the code. If thats the case, ensure yes/no to be formatted as true or false

Welcome! by friend comes from the mainframe club, and I also have a similar background and still work in that field. However, instead of using pure COBOL language, we use CA:Gen

for code generation and implementation on mainframes, Linux, or Windows, using different languages like COBOL, Java, C, and C#.

Bubble is a powerful tool; however, it requires some modernization changes, such as allowing code generation and exporting the code out of Bubble to enable updates or external code writing. Additionally, it should support hosting on-premises or on different cloud platforms.

1 Like

@hmdhmd1976

Depends totally on the use case you are trying to build. Bubble is like a open canvas and the apps built can be extended to pretty complex feature sets.

You can modify the constraint like the following:

X is โ€œ123โ€: formatted as text

Let me know if this help.

I donโ€™t get it , you can access data of repeatinggroup from inside , just repeating_groupโ€™s list of itemโ€™s item#

@hmdhmd1976

I would suggest to book a call (free 30 mins) with me. We can solve this together on the call.

Here is the link: https://meeting.codefree.io

Actually, I did not write the post looking for a solution for this problem, I can go aroung; I am optimistic that Bubble team will improve this bad drawback in the whole platform. Thanks for your support offer.

You are right; but item# should be identified (pure number) but not a formula; you canโ€™t say item#i+3 for example

This topic was automatically closed after 70 days. New replies are no longer allowed.