easycoder 250622.1__tar.gz → 250622.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of easycoder might be problematic. Click here for more details.
- {easycoder-250622.1 → easycoder-250622.2}/PKG-INFO +2 -3
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/__init__.py +1 -1
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_classes.py +1 -1
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_compiler.py +12 -5
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_core.py +5 -4
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_pyside.py +11 -11
- {easycoder-250622.1 → easycoder-250622.2}/.gitignore +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/LICENSE +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/README.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/backdrop.jpg +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/README.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/README.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/boolean.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/empty.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/ends.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/even.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/exists.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/greater.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/hasProperty.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/includes.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/is.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/less.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/list.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/none.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/not.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/numeric.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/object.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/odd.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/starts.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/conditions/string.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/add.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/append.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/assert.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/begin.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/clear.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/close.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/create.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/debug.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/decrement.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/delete.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/divide.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/exit.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/file.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/fork.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/get.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/go.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/gosub.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/if.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/import.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/increment.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/index.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/init.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/input.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/load.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/lock.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/log.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/module.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/multiply.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/negate.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/on.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/open.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/pop.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/post.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/print.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/push.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/put.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/read.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/release.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/replace.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/return.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/run.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/save.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/script.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/send.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/set.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/shuffle.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/split.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/stack.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/stop.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/system.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/take.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/toggle.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/truncate.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/unlock.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/use.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/variable.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/wait.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/while.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/keywords/write.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/arg.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/args.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/cos.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/datime.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/decode.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/element.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/elements.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/empty.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/encode.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/error.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/files.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/float.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/from.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/hash.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/index.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/integer.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/json.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/keys.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/left.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/length.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/lowercase.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/memory.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/modification.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/modulo.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/newline.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/now.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/position.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/property.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/random.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/right.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/sin.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/stringify.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/tab.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/tan.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/timestamp.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/today.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/trim.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/type.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/uppercase.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/value.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/core/values/weekday.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/README.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/attach.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/close.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/create.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/ellipse.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/image.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/move.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/on.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/rectangle.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/render.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/run.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/set.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/keywords/text.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/values/attribute.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/doc/graphics/values/window.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/README.md +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_condition.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_handler.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_program.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_timestamp.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/easycoder/ec_value.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/images/Semoigo Dawn.jpg +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/json/graphics-demo.json +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/plugins/ec_keyboard.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/plugins/ec_p100.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/plugins/ec_pyside6.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/plugins/points.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/pyproject.toml +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/benchmark.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/config.ecg +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/ec_keyboard.py +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/findxr.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/fizzbuzz.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/hello.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/points.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/test.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/scripts/tests.ecs +0 -0
- {easycoder-250622.1 → easycoder-250622.2}/testrc.py +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250622.
|
|
3
|
+
Version: 250622.2
|
|
4
4
|
Summary: Rapid scripting in English
|
|
5
5
|
Keywords: compiler,scripting,prototyping,programming,coding,python,low code,hypertalk,computer language,learn to code
|
|
6
6
|
Author-email: Graham Trott <gtanyware@gmail.com>
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
-
License-File: LICENSE
|
|
10
9
|
Requires-Dist: pytz
|
|
11
10
|
Requires-Dist: requests
|
|
12
11
|
Requires-Dist: psutil
|
|
@@ -10,7 +10,7 @@ class FatalError:
|
|
|
10
10
|
|
|
11
11
|
class NoValueError(FatalError):
|
|
12
12
|
def __init__(self, compiler, record):
|
|
13
|
-
super().__init__(compiler, 'Variable {record["name"]} does not hold a value')
|
|
13
|
+
super().__init__(compiler, f'Variable {record["name"]} does not hold a value')
|
|
14
14
|
|
|
15
15
|
class AssertionError:
|
|
16
16
|
def __init__(self, program, msg=None):
|
|
@@ -16,6 +16,7 @@ class Compiler:
|
|
|
16
16
|
self.program.compiler = self
|
|
17
17
|
self.compileConstant = self.value.compileConstant
|
|
18
18
|
self.debugCompile = False
|
|
19
|
+
self.valueTypes = {}
|
|
19
20
|
|
|
20
21
|
def getPC(self):
|
|
21
22
|
return len(self.program.code)
|
|
@@ -124,13 +125,19 @@ class Compiler:
|
|
|
124
125
|
symbolRecord['used'] = True
|
|
125
126
|
return symbolRecord
|
|
126
127
|
|
|
128
|
+
def addValueType(self):
|
|
129
|
+
self.valueTypes[self.getToken()] = True
|
|
130
|
+
|
|
131
|
+
def hasValue(self, type):
|
|
132
|
+
return type in self.valueTypes
|
|
133
|
+
|
|
127
134
|
def compileLabel(self, command):
|
|
128
|
-
return self.compileSymbol(command, self.getToken()
|
|
135
|
+
return self.compileSymbol(command, self.getToken())
|
|
129
136
|
|
|
130
|
-
def compileVariable(self, command,
|
|
131
|
-
return self.compileSymbol(command, self.nextToken(),
|
|
137
|
+
def compileVariable(self, command, extra=None):
|
|
138
|
+
return self.compileSymbol(command, self.nextToken(), extra)
|
|
132
139
|
|
|
133
|
-
def compileSymbol(self, command, name,
|
|
140
|
+
def compileSymbol(self, command, name, extra=None):
|
|
134
141
|
try:
|
|
135
142
|
v = self.symbols[name]
|
|
136
143
|
except:
|
|
@@ -141,7 +148,6 @@ class Compiler:
|
|
|
141
148
|
self.symbols[name] = self.getPC()
|
|
142
149
|
command['program'] = self.program
|
|
143
150
|
command['type'] = 'symbol'
|
|
144
|
-
command['hasValue'] = hasValue
|
|
145
151
|
command['name'] = name
|
|
146
152
|
command['elements'] = 1
|
|
147
153
|
command['index'] = 0
|
|
@@ -151,6 +157,7 @@ class Compiler:
|
|
|
151
157
|
command['import'] = None
|
|
152
158
|
command['locked'] = False
|
|
153
159
|
command['extra'] = extra
|
|
160
|
+
if 'keyword' in command: command['hasValue'] = self.hasValue(command['keyword'])
|
|
154
161
|
self.add(command)
|
|
155
162
|
return True
|
|
156
163
|
|
|
@@ -287,7 +287,6 @@ class Core(Handler):
|
|
|
287
287
|
if type == 'file':
|
|
288
288
|
filename = self.getRuntimeValue(command['filename'])
|
|
289
289
|
if os.path.isfile(filename):
|
|
290
|
-
print('Deleting',filename)
|
|
291
290
|
os.remove(filename)
|
|
292
291
|
elif type == 'property':
|
|
293
292
|
key = self.getRuntimeValue(command['key'])
|
|
@@ -408,7 +407,7 @@ class Core(Handler):
|
|
|
408
407
|
|
|
409
408
|
# Declare a file variable
|
|
410
409
|
def k_file(self, command):
|
|
411
|
-
return self.compileVariable(command
|
|
410
|
+
return self.compileVariable(command)
|
|
412
411
|
|
|
413
412
|
def r_file(self, command):
|
|
414
413
|
return self.nextPC()
|
|
@@ -617,6 +616,7 @@ class Core(Handler):
|
|
|
617
616
|
variable['keyword'] = keyword
|
|
618
617
|
variable['import'] = None
|
|
619
618
|
variable['used'] = False
|
|
619
|
+
variable['hasValue'] = True if keyword == 'variable' else False
|
|
620
620
|
self.add(variable)
|
|
621
621
|
if self.peek() != 'and':
|
|
622
622
|
break
|
|
@@ -1621,7 +1621,7 @@ class Core(Handler):
|
|
|
1621
1621
|
return self.nextPC()
|
|
1622
1622
|
|
|
1623
1623
|
def k_ssh(self, command):
|
|
1624
|
-
return self.compileVariable(command
|
|
1624
|
+
return self.compileVariable(command)
|
|
1625
1625
|
|
|
1626
1626
|
def r_ssh(self, command):
|
|
1627
1627
|
return self.nextPC()
|
|
@@ -1807,7 +1807,8 @@ class Core(Handler):
|
|
|
1807
1807
|
|
|
1808
1808
|
# Declare a general-purpose variable
|
|
1809
1809
|
def k_variable(self, command):
|
|
1810
|
-
|
|
1810
|
+
self.compiler.addValueType()
|
|
1811
|
+
return self.compileVariable(command)
|
|
1811
1812
|
|
|
1812
1813
|
def r_variable(self, command):
|
|
1813
1814
|
return self.nextPC()
|
|
@@ -166,7 +166,7 @@ class Graphics(Handler):
|
|
|
166
166
|
|
|
167
167
|
# Declare a checkbox variable
|
|
168
168
|
def k_checkbox(self, command):
|
|
169
|
-
return self.compileVariable(command,
|
|
169
|
+
return self.compileVariable(command, 'gui')
|
|
170
170
|
|
|
171
171
|
def r_checkbox(self, command):
|
|
172
172
|
return self.nextPC()
|
|
@@ -201,7 +201,7 @@ class Graphics(Handler):
|
|
|
201
201
|
|
|
202
202
|
# Declare a combobox variable
|
|
203
203
|
def k_combobox(self, command):
|
|
204
|
-
return self.compileVariable(command,
|
|
204
|
+
return self.compileVariable(command, 'gui')
|
|
205
205
|
|
|
206
206
|
def r_combobox(self, command):
|
|
207
207
|
return self.nextPC()
|
|
@@ -501,7 +501,7 @@ class Graphics(Handler):
|
|
|
501
501
|
|
|
502
502
|
# Declare a dialog variable
|
|
503
503
|
def k_dialog(self, command):
|
|
504
|
-
return self.compileVariable(command
|
|
504
|
+
return self.compileVariable(command)
|
|
505
505
|
|
|
506
506
|
def r_dialog(self, command):
|
|
507
507
|
return self.nextPC()
|
|
@@ -532,7 +532,7 @@ class Graphics(Handler):
|
|
|
532
532
|
|
|
533
533
|
# Create a group box
|
|
534
534
|
def k_groupbox(self, command):
|
|
535
|
-
return self.compileVariable(command,
|
|
535
|
+
return self.compileVariable(command, 'gui')
|
|
536
536
|
|
|
537
537
|
def r_groupbox(self, command):
|
|
538
538
|
return self.nextPC()
|
|
@@ -554,35 +554,35 @@ class Graphics(Handler):
|
|
|
554
554
|
|
|
555
555
|
# Declare a label variable
|
|
556
556
|
def k_label(self, command):
|
|
557
|
-
return self.compileVariable(command,
|
|
557
|
+
return self.compileVariable(command, 'gui')
|
|
558
558
|
|
|
559
559
|
def r_label(self, command):
|
|
560
560
|
return self.nextPC()
|
|
561
561
|
|
|
562
562
|
# Declare a layout variable
|
|
563
563
|
def k_layout(self, command):
|
|
564
|
-
return self.compileVariable(command,
|
|
564
|
+
return self.compileVariable(command, 'gui')
|
|
565
565
|
|
|
566
566
|
def r_layout(self, command):
|
|
567
567
|
return self.nextPC()
|
|
568
568
|
|
|
569
569
|
# Declare a line input variable
|
|
570
570
|
def k_lineinput(self, command):
|
|
571
|
-
return self.compileVariable(command,
|
|
571
|
+
return self.compileVariable(command, 'gui')
|
|
572
572
|
|
|
573
573
|
def r_lineinput(self, command):
|
|
574
574
|
return self.nextPC()
|
|
575
575
|
|
|
576
576
|
# Declare a listbox input variable
|
|
577
577
|
def k_listbox(self, command):
|
|
578
|
-
return self.compileVariable(command,
|
|
578
|
+
return self.compileVariable(command, 'gui')
|
|
579
579
|
|
|
580
580
|
def r_listbox(self, command):
|
|
581
581
|
return self.nextPC()
|
|
582
582
|
|
|
583
583
|
# Declare a messagebox variable
|
|
584
584
|
def k_messagebox(self, command):
|
|
585
|
-
return self.compileVariable(command
|
|
585
|
+
return self.compileVariable(command)
|
|
586
586
|
|
|
587
587
|
def r_messagebox(self, command):
|
|
588
588
|
return self.nextPC()
|
|
@@ -675,7 +675,7 @@ class Graphics(Handler):
|
|
|
675
675
|
|
|
676
676
|
# Declare a pushbutton variable
|
|
677
677
|
def k_pushbutton(self, command):
|
|
678
|
-
return self.compileVariable(command,
|
|
678
|
+
return self.compileVariable(command, 'gui')
|
|
679
679
|
|
|
680
680
|
def r_pushbutton(self, command):
|
|
681
681
|
return self.nextPC()
|
|
@@ -977,7 +977,7 @@ class Graphics(Handler):
|
|
|
977
977
|
|
|
978
978
|
# Declare a window variable
|
|
979
979
|
def k_window(self, command):
|
|
980
|
-
return self.compileVariable(command
|
|
980
|
+
return self.compileVariable(command)
|
|
981
981
|
|
|
982
982
|
def r_window(self, command):
|
|
983
983
|
return self.nextPC()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|