skip to Main Content

How to Convert cobal statement to Json

i have to convert cobal statement to json import re import json def extract_cursor(cobol_statement): pattern = r"MODIFY MAP (?: CURSOR|TEMP|FOR|PERM|CURSOR)?(?:CURSOR)?(?: AT)?(?: FIELD)?(?: DFLD)?s+([w-]+)(?!()" action_regex = re.compile(pattern, re.IGNORECASE) action_match = action_regex.search(cobol_statement) if action_match: cursor_value = action_match.group(1) if cursor_value.upper() != "FIELD" and…

VIEW QUESTION

Get Multiple Inputs from User – Flutter

I have a form with about 15 textform fields to input data by the user. What is the best solution for this? I have currently created a list like below: List<TextEditingController> textController = [ TextEditingController(), //name TextEditingController(), //location TextEditingController(), //days…

VIEW QUESTION
Back To Top
Search