Commits

Harald Klimach committed 0f1181a

Added an output example

Comments (0)

Files changed (1)

test/aotus_test.f90

   call close_config(conf)
 
   call aot_out_open(put_conf = dummyOut, filename = 'dummy.lua')
+
   call aot_out_open_table(dummyOut, 'screen')
   call aot_out_val(dummyOut, 123, 'width')
   call aot_out_val(dummyOut, 456, 'height')
 
-  call aot_out_open_table(dummyOut, 'origin')  
-  call aot_out_val(dummyOut, 100)
-  call aot_out_val(dummyOut, 0)
-  call aot_out_close_table(dummyOut)
+!!  call aot_out_open_table(dummyOut, 'origin')  
+!!  call aot_out_val(dummyOut, 100)
+!!  call aot_out_val(dummyOut, 0)
+!!  call aot_out_close_table(dummyOut)
+  call aot_out_val(dummyOut, [100.0, 0.0], vname='origin')
+
   call aot_out_close_table(dummyOut)
 
-  call aot_out_val(dummyOut, (/0,1,2,3/), vname='testarray')
-
+  call aot_out_val(dummyOut, (/ 0, 1, 2, 3 /), vname='testarray')
 
   call aot_out_close(dummyOut)
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.