easycoder 250507.1__tar.gz → 250508.1__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-250507.1 → easycoder-250508.1}/PKG-INFO +1 -1
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/__init__.py +1 -1
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_program.py +1 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_timestamp.py +1 -1
- {easycoder-250507.1 → easycoder-250508.1}/rbrconf.ecs +36 -21
- easycoder-250508.1/test.ecs +63 -0
- easycoder-250508.1/test.py +3 -0
- easycoder-250508.1/test.txt +2 -0
- {easycoder-250507.1 → easycoder-250508.1}/.gitignore +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/LICENSE +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/boolean.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/empty.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/ends.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/even.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/exists.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/greater.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/hasProperty.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/includes.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/is.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/less.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/list.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/none.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/not.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/numeric.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/object.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/odd.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/starts.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/conditions/string.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/add.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/append.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/assert.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/begin.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/clear.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/close.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/create.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/debug.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/decrement.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/delete.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/divide.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/exit.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/file.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/fork.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/get.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/go.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/gosub.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/if.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/import.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/increment.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/index.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/init.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/input.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/load.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/lock.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/log.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/module.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/multiply.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/negate.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/open.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/pop.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/post.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/print.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/push.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/put.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/read.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/release.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/replace.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/return.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/run.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/save.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/script.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/set.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/split.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/stack.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/stop.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/system.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/take.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/toggle.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/truncate.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/unlock.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/variable.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/wait.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/while.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/keywords/write.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/arg.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/args.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/cos.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/datime.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/decode.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/element.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/elements.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/empty.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/encode.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/error.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/files.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/float.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/from.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/hash.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/index.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/integer.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/json.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/keys.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/left.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/length.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/lowercase.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/memory.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/modification.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/modulo.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/newline.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/now.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/position.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/property.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/random.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/right.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/sin.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/stringify.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/tab.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/tan.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/timestamp.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/today.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/trim.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/type.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/uppercase.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/value.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/core/values/weekday.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/attach.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/close.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/create.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/ellipse.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/image.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/move.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/on.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/rectangle.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/render.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/run.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/set.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/keywords/text.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/values/attribute.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/doc/graphics/values/window.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_classes.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_compiler.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_condition.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_core.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_graphics.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_gutils.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_handler.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_pyside.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/easycoder/ec_value.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/images/Semoigo Dawn.jpg +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/json/graphics-demo.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/ec_keyboard.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/ec_p100.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/ec_pyside6.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/4-function.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/4-function.png +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-0.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-0.png +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-1.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-1.png +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-2.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-2.png +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-3.json +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/keyboards/qwerty-3.png +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/plugins/points.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/pyproject.toml +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/q1.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/q2.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/rbrconf.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/README.md +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/benchmark.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/config.ecg +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/connect.ecg +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/ec_keyboard.py +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/findxr.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/fizzbuzz.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/hello.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/points.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/test.ecs +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/testg.ecg +0 -0
- {easycoder-250507.1 → easycoder-250508.1}/scripts/tests.ecs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: easycoder
|
|
3
|
-
Version:
|
|
3
|
+
Version: 250508.1
|
|
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>
|
|
@@ -2,7 +2,7 @@ import pytz, time
|
|
|
2
2
|
from datetime import datetime
|
|
3
3
|
|
|
4
4
|
def getTimestamp(t):
|
|
5
|
-
tz = pytz.timezone('
|
|
5
|
+
tz = pytz.timezone('GB') # Localize this!
|
|
6
6
|
dt = datetime.fromtimestamp(t)
|
|
7
7
|
# print(f'{dt} + {tz.dst(dt).seconds}')
|
|
8
8
|
return int(t) + tz.dst(dt).seconds
|
|
@@ -466,7 +466,7 @@ GetConfigData:
|
|
|
466
466
|
put `Can't read the config file for ` cat SystemName cat `(` cat MAC cat `/` cat Password cat `)` into StatusMessage
|
|
467
467
|
go to Error
|
|
468
468
|
end
|
|
469
|
-
log Value
|
|
469
|
+
! log Value
|
|
470
470
|
! If the server has data, copy it into the local config
|
|
471
471
|
if Value is `""` put empty into Value
|
|
472
472
|
if Value is empty put `{}` into Value
|
|
@@ -474,7 +474,7 @@ GetConfigData:
|
|
|
474
474
|
begin
|
|
475
475
|
log `Add config data from the server`
|
|
476
476
|
put json Value into Value
|
|
477
|
-
log prettify Value
|
|
477
|
+
! log prettify Value
|
|
478
478
|
put the keys of Value into Keys
|
|
479
479
|
put 0 into K
|
|
480
480
|
while K is less than the count of Keys
|
|
@@ -891,28 +891,43 @@ PopulateSystemInfo:
|
|
|
891
891
|
put property `host-password` of SystemConfig into Password
|
|
892
892
|
if SystemHostSSID is not HostSSID
|
|
893
893
|
begin
|
|
894
|
-
put `
|
|
894
|
+
put `Different host SSID: ` cat SystemHostSSID into StatusMessage
|
|
895
895
|
gosub to Working
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
896
|
+
create MessageBox on Window
|
|
897
|
+
style question
|
|
898
|
+
title `Move system`
|
|
899
|
+
message `Shall I move the system to the current host (` cat HostSSID cat `)?`
|
|
900
|
+
show MessageBox giving Value
|
|
901
|
+
if Value is `Yes`
|
|
901
902
|
begin
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
903
|
+
put HostSSID into SystemHostSSID
|
|
904
|
+
set property `host-ssid` of SystemConfig to HostSSID
|
|
905
|
+
set property `host-password` of SystemConfig to HostPassword
|
|
906
|
+
gosub to UpdateSystems
|
|
907
|
+
end
|
|
908
|
+
else
|
|
909
|
+
begin
|
|
910
|
+
put SystemHostSSID into HostSSID
|
|
911
|
+
put Password into HostPassword
|
|
912
|
+
put system `nmcli dev wifi connect ` cat HostSSID cat ` password ` cat HostPassword into SystemCallResult
|
|
913
|
+
split SystemCallResult on ` `
|
|
914
|
+
if the elements of SystemCallResult is greater than 2
|
|
913
915
|
begin
|
|
914
|
-
|
|
915
|
-
|
|
916
|
+
index SystemCallResult to 2
|
|
917
|
+
if SystemCallResult is `successfully`
|
|
918
|
+
begin
|
|
919
|
+
set property HostSSID of Hosts to HostPassword
|
|
920
|
+
set property `hosts` of Config to Hosts
|
|
921
|
+
gosub to PostConfigData
|
|
922
|
+
put HostSSID into CurrentSSID
|
|
923
|
+
put `Connected to ` cat HostSSID into StatusMessage
|
|
924
|
+
gosub to Working
|
|
925
|
+
end
|
|
926
|
+
else
|
|
927
|
+
begin
|
|
928
|
+
put `Failed to connect to ` cat HostSSID into StatusMessage
|
|
929
|
+
go to Error
|
|
930
|
+
end
|
|
916
931
|
end
|
|
917
932
|
end
|
|
918
933
|
end
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|