easycoder 250508.1__tar.gz → 250508.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-250508.1 → easycoder-250508.2}/PKG-INFO +1 -1
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/__init__.py +1 -1
- {easycoder-250508.1 → easycoder-250508.2}/rbrconf.ecs +24 -8
- easycoder-250508.2/test.ecs +13 -0
- easycoder-250508.1/test.ecs +0 -63
- {easycoder-250508.1 → easycoder-250508.2}/.gitignore +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/LICENSE +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/boolean.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/empty.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/ends.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/even.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/exists.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/greater.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/hasProperty.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/includes.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/is.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/less.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/list.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/none.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/not.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/numeric.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/object.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/odd.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/starts.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/conditions/string.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/add.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/append.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/assert.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/begin.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/clear.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/close.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/create.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/debug.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/decrement.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/delete.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/divide.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/exit.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/file.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/fork.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/get.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/go.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/gosub.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/if.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/import.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/increment.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/index.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/init.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/input.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/load.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/lock.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/log.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/module.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/multiply.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/negate.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/open.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/pop.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/post.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/print.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/push.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/put.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/read.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/release.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/replace.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/return.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/run.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/save.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/script.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/set.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/split.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/stack.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/stop.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/system.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/take.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/toggle.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/truncate.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/unlock.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/variable.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/wait.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/while.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/keywords/write.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/arg.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/args.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/cos.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/datime.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/decode.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/element.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/elements.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/empty.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/encode.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/error.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/files.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/float.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/from.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/hash.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/index.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/integer.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/json.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/keys.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/left.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/length.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/lowercase.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/memory.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/modification.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/modulo.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/newline.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/now.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/position.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/property.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/random.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/right.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/sin.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/stringify.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/tab.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/tan.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/timestamp.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/today.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/trim.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/type.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/uppercase.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/value.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/core/values/weekday.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/attach.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/close.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/create.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/ellipse.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/image.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/move.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/on.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/rectangle.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/render.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/run.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/set.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/keywords/text.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/values/attribute.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/doc/graphics/values/window.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_classes.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_compiler.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_condition.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_core.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_graphics.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_gutils.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_handler.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_program.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_pyside.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_timestamp.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/easycoder/ec_value.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/images/Semoigo Dawn.jpg +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/json/graphics-demo.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/ec_keyboard.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/ec_p100.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/ec_pyside6.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/4-function.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/4-function.png +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-0.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-0.png +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-1.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-1.png +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-2.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-2.png +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-3.json +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/keyboards/qwerty-3.png +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/plugins/points.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/pyproject.toml +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/q1.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/q2.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/rbrconf.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/README.md +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/benchmark.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/config.ecg +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/connect.ecg +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/ec_keyboard.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/findxr.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/fizzbuzz.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/hello.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/points.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/test.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/testg.ecg +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/scripts/tests.ecs +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/test.py +0 -0
- {easycoder-250508.1 → easycoder-250508.2}/test.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version: 250508.
|
|
3
|
+
Version: 250508.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>
|
|
@@ -160,8 +160,6 @@
|
|
|
160
160
|
add Label to Layout
|
|
161
161
|
create UptimeLabel text `0`
|
|
162
162
|
add UptimeLabel to Layout
|
|
163
|
-
create Label text `sec`
|
|
164
|
-
add Label to Layout
|
|
165
163
|
add stretch to Layout
|
|
166
164
|
|
|
167
165
|
create Layout type QHBoxLayout
|
|
@@ -896,7 +894,8 @@ PopulateSystemInfo:
|
|
|
896
894
|
create MessageBox on Window
|
|
897
895
|
style question
|
|
898
896
|
title `Move system`
|
|
899
|
-
message `Shall I move
|
|
897
|
+
message `Shall I move system ` cat SystemName cat ` to the current host (` cat HostSSID cat `)?` cat newline
|
|
898
|
+
cat `(If 'No' I will attempt to connect to ` cat SystemHostSSID cat `)`
|
|
900
899
|
show MessageBox giving Value
|
|
901
900
|
if Value is `Yes`
|
|
902
901
|
begin
|
|
@@ -1407,7 +1406,12 @@ CheckDevice:
|
|
|
1407
1406
|
|
|
1408
1407
|
CheckDevice2:
|
|
1409
1408
|
put the position of ` ` in Uptime into P
|
|
1410
|
-
if P is greater than 0
|
|
1409
|
+
if P is greater than 0
|
|
1410
|
+
begin
|
|
1411
|
+
put left P of Uptime into Uptime
|
|
1412
|
+
put Uptime cat ` sec` into Uptime
|
|
1413
|
+
end
|
|
1414
|
+
else put `Unknown` into Uptime
|
|
1411
1415
|
log Name cat ` uptime: ` cat Uptime
|
|
1412
1416
|
set the text of UptimeLabel to Uptime
|
|
1413
1417
|
go to OK
|
|
@@ -1427,6 +1431,7 @@ RelayOffClick:
|
|
|
1427
1431
|
end
|
|
1428
1432
|
begin
|
|
1429
1433
|
put from 3 of Response into Uptime
|
|
1434
|
+
put Uptime cat ` sec` into Uptime
|
|
1430
1435
|
set the text of RelayStateLabel to `OFF`
|
|
1431
1436
|
end
|
|
1432
1437
|
gosub to CheckDevice2
|
|
@@ -1448,6 +1453,7 @@ RelayOnClick:
|
|
|
1448
1453
|
else
|
|
1449
1454
|
begin
|
|
1450
1455
|
put from 3 of Response into Uptime
|
|
1456
|
+
put Uptime cat ` sec` into Uptime
|
|
1451
1457
|
set the text of RelayStateLabel to `ON`
|
|
1452
1458
|
end
|
|
1453
1459
|
gosub to CheckDevice2
|
|
@@ -1496,6 +1502,7 @@ SendMessageToDevice:
|
|
|
1496
1502
|
put Path into MAC
|
|
1497
1503
|
end
|
|
1498
1504
|
end
|
|
1505
|
+
put empty into Response
|
|
1499
1506
|
put `http://` cat MasterIPAddr cat `/?mac=` cat MAC cat `&msg=` cat Message2 into URL
|
|
1500
1507
|
! log URL
|
|
1501
1508
|
get Response from url URL
|
|
@@ -1508,7 +1515,6 @@ SendMessageToDevice:
|
|
|
1508
1515
|
set property `path` of Device to empty
|
|
1509
1516
|
go to SendMessageToDevice
|
|
1510
1517
|
end
|
|
1511
|
-
put empty into Response
|
|
1512
1518
|
return
|
|
1513
1519
|
end
|
|
1514
1520
|
! log URL cat ` - ` cat Response
|
|
@@ -1559,13 +1565,23 @@ UpdateConfig:
|
|
|
1559
1565
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
1560
1566
|
! Pause the system controller
|
|
1561
1567
|
PauseSystemController:
|
|
1562
|
-
if SystemIPAddr is not empty
|
|
1568
|
+
if SystemIPAddr is not empty
|
|
1569
|
+
get Response from url `http://` cat SystemIPAddr cat `:17348/cgi-bin/pause.py`
|
|
1570
|
+
or begin
|
|
1571
|
+
put `Unable to contact server at ` cat IPAddr into StatusMessage
|
|
1572
|
+
goto Working
|
|
1573
|
+
end
|
|
1563
1574
|
return
|
|
1564
1575
|
|
|
1565
1576
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
1566
|
-
!
|
|
1577
|
+
! Resume the system controller
|
|
1567
1578
|
ResumeSystemController:
|
|
1568
|
-
if SystemIPAddr is not empty
|
|
1579
|
+
if SystemIPAddr is not empty
|
|
1580
|
+
get Response from url `http://` cat SystemIPAddr cat `:17348/cgi-bin/resume.py`
|
|
1581
|
+
or begin
|
|
1582
|
+
put `Unable to contact server at ` cat IPAddr into StatusMessage
|
|
1583
|
+
goto Working
|
|
1584
|
+
end
|
|
1569
1585
|
return
|
|
1570
1586
|
|
|
1571
1587
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
variable X
|
|
2
|
+
variable Y
|
|
3
|
+
variable Z
|
|
4
|
+
|
|
5
|
+
put 25 into X
|
|
6
|
+
put 12 into Y
|
|
7
|
+
multiply X by Y giving Z ! This form puts the result into the 3rd parameter
|
|
8
|
+
print `The product of ` cat X cat ` multiplied by ` cat Y cat ` is ` cat Z
|
|
9
|
+
put 123 into Y
|
|
10
|
+
multiply X by Y ! This form replaces the 1st parameter with the product
|
|
11
|
+
print `X is now ` cat X
|
|
12
|
+
|
|
13
|
+
exit
|
easycoder-250508.1/test.ecs
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
script Benchmark
|
|
2
|
-
|
|
3
|
-
variable Start
|
|
4
|
-
variable Finish
|
|
5
|
-
variable N
|
|
6
|
-
variable M
|
|
7
|
-
variable Array
|
|
8
|
-
variable Dictionary
|
|
9
|
-
|
|
10
|
-
! debug step
|
|
11
|
-
|
|
12
|
-
print `FOR loop counting to 500,000`
|
|
13
|
-
put now into Start
|
|
14
|
-
put 0 into N
|
|
15
|
-
while N is less than 500000 increment N
|
|
16
|
-
put now into Finish
|
|
17
|
-
take Start from Finish giving N
|
|
18
|
-
print N cat ` seconds`
|
|
19
|
-
|
|
20
|
-
print `Compare 500,000 long integers for equality`
|
|
21
|
-
put now into Start
|
|
22
|
-
put 0 into N
|
|
23
|
-
while N is less than 500000
|
|
24
|
-
begin
|
|
25
|
-
if N is 1234567890 begin end
|
|
26
|
-
increment N
|
|
27
|
-
end
|
|
28
|
-
put now into Finish
|
|
29
|
-
take Start from Finish giving N
|
|
30
|
-
print N cat ` seconds`
|
|
31
|
-
|
|
32
|
-
print `Allocate and initialize a 500,000 element array`
|
|
33
|
-
put now into Start
|
|
34
|
-
set the elements of Array to 500000
|
|
35
|
-
put 0 into N
|
|
36
|
-
while N is less than 500000
|
|
37
|
-
begin
|
|
38
|
-
index Array to N
|
|
39
|
-
put N into Array
|
|
40
|
-
increment N
|
|
41
|
-
end
|
|
42
|
-
put now into Finish
|
|
43
|
-
take Start from Finish giving N
|
|
44
|
-
print N cat ` seconds`
|
|
45
|
-
|
|
46
|
-
print `Allocate and initialize a 5000 element dictionary`
|
|
47
|
-
put json `{}` into Dictionary
|
|
48
|
-
put now into Start
|
|
49
|
-
put 0 into N
|
|
50
|
-
while N is less than 100
|
|
51
|
-
begin
|
|
52
|
-
put 0 into M
|
|
53
|
-
while M is less than 50
|
|
54
|
-
begin
|
|
55
|
-
set property N cat ` ` cat M of Dictionary to M
|
|
56
|
-
increment M
|
|
57
|
-
end
|
|
58
|
-
increment N
|
|
59
|
-
end
|
|
60
|
-
put now into Finish
|
|
61
|
-
take Start from Finish giving N
|
|
62
|
-
print N cat ` seconds`
|
|
63
|
-
exit
|
|
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
|
|
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
|