1 | //VB TO JAVA CONVERTER WARNING: VB to Java Converter converts from VB(.NET), not VB6: |
2 | VERSION 5.00; |
3 | |
4 | Begin VB.Form Adapt; |
5 | |
6 | Caption = "Stimulus/Response, Percept/Action History"; |
7 | |
8 | ClientHeight = 8415; |
9 | |
10 | ClientLeft = 60; |
11 | |
12 | ClientTop = 345; |
13 | |
14 | ClientWidth = 15240; |
15 | |
16 | BeginProperty Font; |
17 | |
18 | Name = "MS Sans Serif"; |
19 | |
20 | Size = 9.75; |
21 | |
22 | Charset = 0; |
23 | |
24 | Weight = 400; |
25 | |
26 | Underline = 0; //False |
27 | |
28 | Italic = 0; //False |
29 | |
30 | Strikethrough = 0; //False |
31 | |
32 | EndProperty; |
33 | |
34 | Icon = "Adapt.frx"; |
35 | 0000; |
36 | |
37 | LinkTopic = "Form1"; |
38 | |
39 | ScaleHeight = 8415; |
40 | |
41 | ScaleWidth = 15240; |
42 | |
43 | Begin VB.TextBox LTMTitles; |
44 | |
45 | Appearance = 0; //Flat |
46 | |
47 | BackColor = 0x80000004L; |
48 | |
49 | BorderStyle = 0; //None |
50 | |
51 | BeginProperty Font; |
52 | |
53 | Name = "Courier"; |
54 | |
55 | Size = 9.75; |
56 | |
57 | Charset = 0; |
58 | |
59 | Weight = 700; |
60 | |
61 | Underline = 0; //False |
62 | |
63 | Italic = 0; //False |
64 | |
65 | Strikethrough = 0; //False |
66 | |
67 | EndProperty; |
68 | |
69 | Height = 2535; |
70 | |
71 | Left = 0; |
72 | |
73 | Locked = -1; //True |
74 | |
75 | MultiLine = -1; //True |
76 | |
77 | TabIndex = 5; |
78 | |
79 | TabStop = 0; //False |
80 | |
81 | Text = "Adapt.frx"; |
82 | 0442; |
83 | |
84 | Top = 2760; |
85 | |
86 | Width = 975; |
87 | |
88 | System.exit(); |
89 | |
90 | Begin VB.CommandButton SeeBinons; |
91 | |
92 | Caption = "See Memory"; |
93 | |
94 | BeginProperty Font; |
95 | |
96 | Name = "MS Sans Serif"; |
97 | |
98 | Size = 9.75; |
99 | |
100 | Charset = 0; |
101 | |
102 | Weight = 700; |
103 | |
104 | Underline = 0; //False |
105 | |
106 | Italic = 0; //False |
107 | |
108 | Strikethrough = 0; //False |
109 | |
110 | EndProperty; |
111 | |
112 | Height = 615; |
113 | |
114 | Left = 12840; |
115 | |
116 | TabIndex = 1; |
117 | |
118 | Top = 6960; |
119 | |
120 | Width = 2055; |
121 | |
122 | System.exit(); |
123 | |
124 | Begin VB.TextBox IO; |
125 | |
126 | Appearance = 0; //Flat |
127 | |
128 | BeginProperty Font; |
129 | |
130 | Name = "Terminal"; |
131 | |
132 | Size = 13.5; |
133 | |
134 | Charset = 255; |
135 | |
136 | Weight = 400; |
137 | |
138 | Underline = 0; //False |
139 | |
140 | Italic = 0; //False |
141 | |
142 | Strikethrough = 0; //False |
143 | |
144 | EndProperty; |
145 | |
146 | Height = 2775; |
147 | |
148 | Left = 0; |
149 | |
150 | Locked = -1; //True |
151 | |
152 | MultiLine = -1; //True |
153 | |
154 | ScrollBars = 3; //Both |
155 | |
156 | TabIndex = 4; |
157 | |
158 | TabStop = 0; //False |
159 | |
160 | Text = "Adapt.frx"; |
161 | 0450; |
162 | |
163 | Top = 0; |
164 | |
165 | Width = 15240; |
166 | |
167 | System.exit(); |
168 | |
169 | Begin VB.TextBox TraceInfo; |
170 | |
171 | Appearance = 0; //Flat |
172 | |
173 | BackColor = 0x80000004L; |
174 | |
175 | BorderStyle = 0; //None |
176 | |
177 | BeginProperty Font; |
178 | |
179 | Name = "MS Sans Serif"; |
180 | |
181 | Size = 12; |
182 | |
183 | Charset = 0; |
184 | |
185 | Weight = 700; |
186 | |
187 | Underline = 0; //False |
188 | |
189 | Italic = 0; //False |
190 | |
191 | Strikethrough = 0; //False |
192 | |
193 | EndProperty; |
194 | |
195 | Height = 2340; |
196 | |
197 | Left = 960; |
198 | |
199 | Locked = -1; //True |
200 | |
201 | MultiLine = -1; //True |
202 | |
203 | TabIndex = 2; |
204 | |
205 | TabStop = 0; //False |
206 | |
207 | Text = "Adapt.frx"; |
208 | 0455; |
209 | |
210 | Top = 6000; |
211 | |
212 | Width = 11655; |
213 | |
214 | System.exit(); |
215 | |
216 | Begin VB.TextBox LTMem; |
217 | |
218 | Appearance = 0; //Flat |
219 | |
220 | BeginProperty Font; |
221 | |
222 | Name = "Courier"; |
223 | |
224 | Size = 9.75; |
225 | |
226 | Charset = 0; |
227 | |
228 | Weight = 400; |
229 | |
230 | Underline = 0; //False |
231 | |
232 | Italic = 0; //False |
233 | |
234 | Strikethrough = 0; //False |
235 | |
236 | EndProperty; |
237 | |
238 | Height = 3135; |
239 | |
240 | Left = 960; |
241 | |
242 | Locked = -1; //True |
243 | |
244 | MultiLine = -1; //True |
245 | |
246 | ScrollBars = 3; //Both |
247 | |
248 | TabIndex = 3; |
249 | |
250 | TabStop = 0; //False |
251 | |
252 | Text = "Adapt.frx"; |
253 | 0676; |
254 | |
255 | Top = 2760; |
256 | |
257 | Width = 14280; |
258 | |
259 | System.exit(); |
260 | |
261 | Begin VB.CommandButton GoWorld; |
262 | |
263 | Caption = "See World"; |
264 | |
265 | BeginProperty Font; |
266 | |
267 | Name = "MS Sans Serif"; |
268 | |
269 | Size = 9.75; |
270 | |
271 | Charset = 0; |
272 | |
273 | Weight = 700; |
274 | |
275 | Underline = 0; //False |
276 | |
277 | Italic = 0; //False |
278 | |
279 | Strikethrough = 0; //False |
280 | |
281 | EndProperty; |
282 | |
283 | Height = 615; |
284 | |
285 | Left = 12840; |
286 | |
287 | Style = 1; //Graphical |
288 | |
289 | TabIndex = 0; |
290 | |
291 | Top = 6120; |
292 | |
293 | Width = 2175; |
294 | |
295 | System.exit(); |
296 | |
297 | System.exit(); |
298 | |
299 | Attribute VB_Name = "Adapt"; |
300 | |
301 | Attribute VB_GlobalNameSpace = false; |
302 | |
303 | Attribute VB_Creatable = false; |
304 | |
305 | Attribute VB_PredeclaredId = true; |
306 | |
307 | Attribute VB_Exposed = false; |
308 | |
309 | // |
310 | |
311 | // This form shows the detailed history of the sequence of stimuli and responses |
312 | |
313 | // It displays the inputs and outputs in IO.Text |
314 | |
315 | |
316 | |
317 | DefInt A - Z; |
318 | |
319 | |
320 | |
321 | Public INPUTSTREAM As String, OUTPUTSTREAM As String; |
322 | |
323 | |
324 | |
325 | Private Sub Form_Load(); |
326 | |
327 | |
328 | |
329 | LTMTitles.Text = "Step # " + "\r\n"; //------MEMORY LOCATION |
330 | |
331 | LTMTitles.Text = LTMTitles.Text + "Percept" + "\r\n"; //------Percepts(.., Fired) Type |
332 | |
333 | LTMTitles.Text = LTMTitles.Text + "Binon #" + "\r\n" + "\r\n"; //------Percepts(.., Fired) Binon |
334 | |
335 | LTMTitles.Text = LTMTitles.Text + "Expect" + "\r\n"; //------ES ActBin type |
336 | |
337 | LTMTitles.Text = LTMTitles.Text + "Binon #" + "\r\n" + "\r\n"; //------ LTMEMORY ActBin Object binon |
338 | |
339 | LTMTitles.Text = LTMTitles.Text + "Action" + "\r\n"; //------AR ActBin type |
340 | |
341 | LTMTitles.Text = LTMTitles.Text + "Binon #" + "\r\n" + "\r\n"; //------ LTMEMORY ActBin Object binon |
342 | |
343 | LTMTitles.Text = LTMTitles.Text + "Action" + "\r\n"; //------Actions(.., Fired) Type |
344 | |
345 | LTMTitles.Text = LTMTitles.Text + "Binon #" + "\r\n" + "\r\n"; //------Actions(.., Fired) Binon |
346 | |
347 | |
348 | |
349 | } |
350 | |
351 | |
352 | |
353 | public final void SeeBinons_Click() |
354 | { |
355 | |
356 | |
357 | |
358 | BinonDisplay.Show; |
359 | |
360 | |
361 | |
362 | } //End of SeeBinons() |
363 | |
364 | |
365 | |
366 | private void GoWorld_Click() //Return to the World view |
367 | { |
368 | |
369 | |
370 | |
371 | World.Show; |
372 | |
373 | World.Go.SetFocus; //The Go / Continue command button |
374 | |
375 | |
376 | |
377 | } |
378 | |
379 | |
380 | |
381 | public final void DUMPLTM() //Called by Update_View |
382 | { |
383 | |
384 | // |
385 | |
386 | // Displaying LONG TERM MEMORY in LTMem.Text |
387 | |
388 | // |
389 | |
390 | String MemLine = null; |
391 | String MemValT = null; |
392 | String[] MemSize = new String[(1 To 2000) + 1]; |
393 | String Length = null; |
394 | String Sen = null; |
395 | String Att = null; |
396 | String Pe = null; |
397 | String Ob = null; |
398 | Object E = null; |
399 | Object BinTyp = null; |
400 | |
401 | Object Group = null; |
402 | Object EndLIN = null; |
403 | Object GroupSize = null; |
404 | |
405 | boolean DisplayIt = false; //a Spac$, |
406 | |
407 | |
408 | |
409 | //'-------------------- Long Term Memory (LTM) - Monitoring Info. ------------------------- |
410 | |
411 | // 'For Display purposes only by Adapt.DUMPLTM in Adapt.LTMem |
412 | |
413 | // 'Long term memory contains a list of the stimuli that have been paid attention to. |
414 | |
415 | // 'It stores Perceptual sequences as a pair of sequential memory locations. |
416 | |
417 | // |
418 | |
419 | // Public LTMEMORY&(1 To 2000, 1 To 6) |
420 | |
421 | // '1st index is StoreAt cycle number |
422 | |
423 | // '2nd index is what type of information is in the LTM |
424 | |
425 | // |
426 | |
427 | // '---- LTMEMORY() 2nd index values - type of information in LTMEMORY() |
428 | |
429 | // Public LtmPerceptTyp '1 Percept binon type |
430 | |
431 | // Public LtmPerceptBin '2 Percept binon |
432 | |
433 | // Public LtmESType '3 Type of ES Binon - may be an SS |
434 | |
435 | // Public LtmESActBin '4 ES Actbin |
436 | |
437 | // Public LtmARType '5 Type of AR Binon - may be an RR |
438 | |
439 | // Public LtmARActBin '6 AR ActBin |
440 | |
441 | // Public LtmActionTyp '7 Action binon type |
442 | |
443 | // Public LtmActionBin '8 Action binon |
444 | |
445 | |
446 | |
447 | for (var I = 1; I <= StoreAt; I++) //find the widest binon # for all the StoreAt positions |
448 | { |
449 | |
450 | MemSize[I] = String.valueOf(String.valueOf(I).Length); //assume smallest width of characters for each entry |
451 | |
452 | if (MemSize[I].compareTo("3") < 0) //a minimum of 3 characters wide |
453 | { |
454 | MemSize[I] = "3"; |
455 | } |
456 | |
457 | Length = String.valueOf(String.valueOf(LTMEMORY(I, LtmPerceptBin)).Length); |
458 | |
459 | if (Length.compareTo(MemSize[I]) > 0) |
460 | { |
461 | MemSize[I] = Length; |
462 | } |
463 | |
464 | Length = String.valueOf(String.valueOf(LTMEMORY(I, LtmESActBin)).Length); |
465 | |
466 | if (Length.compareTo(MemSize[I]) > 0) |
467 | { |
468 | MemSize[I] = Length; |
469 | } |
470 | |
471 | Length = String.valueOf(String.valueOf(LTMEMORY(I, LtmARActBin)).Length); |
472 | |
473 | if (Length.compareTo(MemSize[I]) > 0) |
474 | { |
475 | MemSize[I] = Length; |
476 | } |
477 | |
478 | Length = String.valueOf(String.valueOf(LTMEMORY(I, LtmActionBin)).Length); |
479 | |
480 | if (Length.compareTo(MemSize[I]) > 0) |
481 | { |
482 | MemSize[I] = Length; |
483 | } |
484 | |
485 | } |
486 | |
487 | |
488 | |
489 | LTMem.Text = ""; |
490 | |
491 | GroupSize = 250; |
492 | |
493 | |
494 | |
495 | //VB TO JAVA CONVERTER NOTE: The ending condition of VB 'For' loops is tested only on entry to the loop. VB to Java Converter has created a temporary variable in order to use the initial value of (StoreAt - 1)) TangibleIntDiv GroupSize for every iteration: |
496 | Object tempVar = (StoreAt - 1)) / GroupSize; |
497 | //VB TO JAVA CONVERTER TODO TASK: The following line could not be converted: |
498 | For Group = (0 To (StoreAt - 1)) / GroupSize |
499 | |
500 | |
501 | |
502 | EndLIN = GroupSize * Group + GroupSize; //Only put up the available values |
503 | |
504 | if (EndLIN > StoreAt) |
505 | { |
506 | EndLIN = StoreAt; |
507 | } |
508 | |
509 | |
510 | |
511 | MemLine = ""; |
512 | |
513 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM display the event number |
514 | { |
515 | |
516 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + String.valueOf(E))).substring(((String)(new string(' ', MemSize[(Integer)E]) + String.valueOf(E))).length() - MemSize[(Integer)E]); |
517 | |
518 | } |
519 | |
520 | LTMem.Text = LTMem.Text + MemLine + "\r\n"; |
521 | |
522 | |
523 | |
524 | //------Percepts(.., Fired) Type |
525 | |
526 | MemLine = ""; |
527 | |
528 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
529 | { |
530 | |
531 | Att = BinonTypeName(LTMEMORY(E, LtmPerceptTyp), BinAbbreviation); //Att$ = Str$(STM(1, BinTp, Current)) |
532 | |
533 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
534 | |
535 | } |
536 | |
537 | LTMem.Text = LTMem.Text + MemLine + "\r\n"; |
538 | |
539 | |
540 | |
541 | //------Percepts(.., Fired) Binon |
542 | |
543 | MemLine = ""; //Trigger STIMULUS intensity |
544 | |
545 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
546 | { |
547 | |
548 | Att = String.valueOf(LTMEMORY(E, LtmPerceptBin)); //Att$ = Str$(STM(1, BinId, Current)) |
549 | |
550 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
551 | |
552 | } |
553 | |
554 | LTMem.Text = LTMem.Text + MemLine + "\r\n" + "\r\n"; |
555 | |
556 | |
557 | |
558 | |
559 | |
560 | //------ES ActBin type |
561 | |
562 | MemLine = ""; |
563 | |
564 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
565 | { |
566 | |
567 | Att = AESR(LTMEMORY(E, LtmESActBin)); |
568 | |
569 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
570 | |
571 | } |
572 | |
573 | LTMem.Text = LTMem.Text + MemLine + "\r\n"; |
574 | |
575 | |
576 | |
577 | //------ LTMEMORY ActBin Object binon |
578 | |
579 | MemLine = ""; |
580 | |
581 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
582 | { |
583 | |
584 | Att = String.valueOf(LTMEMORY(E, LtmESActBin)); |
585 | |
586 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
587 | |
588 | } |
589 | |
590 | LTMem.Text = LTMem.Text + MemLine + "\r\n" + "\r\n"; |
591 | |
592 | |
593 | |
594 | |
595 | |
596 | //------AR ActBin type |
597 | |
598 | MemLine = ""; |
599 | |
600 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
601 | { |
602 | |
603 | Att = AESR(LTMEMORY(E, LtmARActBin)); |
604 | |
605 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
606 | |
607 | } |
608 | |
609 | LTMem.Text = LTMem.Text + MemLine + "\r\n"; |
610 | |
611 | |
612 | |
613 | //------ LTMEMORY ActBin Object binon |
614 | |
615 | MemLine = ""; |
616 | |
617 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
618 | { |
619 | |
620 | Att = String.valueOf(LTMEMORY(E, LtmARActBin)); |
621 | |
622 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
623 | |
624 | } |
625 | |
626 | LTMem.Text = LTMem.Text + MemLine + "\r\n" + "\r\n"; |
627 | |
628 | |
629 | |
630 | |
631 | |
632 | //------Actions(.., Fired) Type |
633 | |
634 | MemLine = ""; |
635 | |
636 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
637 | { |
638 | |
639 | Att = BinonTypeName(LTMEMORY(E, LtmActionTyp), BinAbbreviation); |
640 | |
641 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
642 | |
643 | } |
644 | |
645 | LTMem.Text = LTMem.Text + MemLine + "\r\n"; |
646 | |
647 | |
648 | |
649 | //------Actions(.., Fired) Binon |
650 | |
651 | MemLine = ""; |
652 | |
653 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in LTM |
654 | { |
655 | |
656 | Att = String.valueOf(LTMEMORY(E, LtmActionBin)); |
657 | |
658 | MemLine = MemLine + ((String)(new string(' ', MemSize[(Integer)E]) + Att)).substring(((String)(new string(' ', MemSize[(Integer)E]) + Att)).length() - MemSize[(Integer)E]); |
659 | |
660 | } |
661 | |
662 | LTMem.Text = LTMem.Text + MemLine + "\r\n" + "\r\n"; |
663 | |
664 | |
665 | |
666 | } |
667 | |
668 | |
669 | |
670 | } //End of DUMPLTM |
671 | |
672 | |
673 | |
674 | public final void HISTORYDISPLAY() //Called by Update_View |
675 | { |
676 | |
677 | |
678 | |
679 | //Display INPUTS$() and OUTPUTS$() history in IO.Text |
680 | |
681 | |
682 | |
683 | Object E = null; |
684 | Object Sn = null; |
685 | Object Wdth = null; |
686 | Object Group = null; |
687 | Object EndLIN = null; |
688 | Object GroupSize = null; |
689 | |
690 | String NumberLine = null; |
691 | |
692 | String ILines = null; //10 sense lines |
693 | |
694 | String OLine1 = null; //The one line of responses |
695 | |
696 | |
697 | |
698 | // Public INPUTS$(2000, 1 To 10) 'Input history - List of sense stimuli for each sense (1 to 10) |
699 | |
700 | // Public OUTPUTS$(2000) 'OUTPUT history - List of Responses |
701 | |
702 | |
703 | |
704 | IO.Text = ""; //clear the IO display |
705 | |
706 | GroupSize = 250; //After 250 events the IO.Text area wraps the lines |
707 | |
708 | //VB TO JAVA CONVERTER NOTE: The ending condition of VB 'For' loops is tested only on entry to the loop. VB to Java Converter has created a temporary variable in order to use the initial value of (LIN - 1)) TangibleIntDiv GroupSize for every iteration: |
709 | Object tempVar = (LIN - 1)) / GroupSize; |
710 | //VB TO JAVA CONVERTER TODO TASK: The following line could not be converted: |
711 | For Group = (0 To (LIN - 1)) / GroupSize |
712 | |
713 | |
714 | |
715 | EndLIN = GroupSize * Group + GroupSize; //Only put up the available values |
716 | |
717 | if (EndLIN > LIN) |
718 | { |
719 | EndLIN = LIN; |
720 | } |
721 | |
722 | |
723 | |
724 | for (E = GroupSize * Group + 1; E <= EndLIN; E++) //For each event in INPUTS$ and OUTPUTS$ |
725 | { |
726 | |
727 | |
728 | |
729 | if (E == GroupSize * Group + 1) //If it is the 1st position / event in the line then |
730 | { |
731 | |
732 | NumberLine = "Step # : "; |
733 | |
734 | for (Sn = 1; Sn <= NumSenses; Sn++) //Add labels to start of lines |
735 | { |
736 | |
737 | ILines.charAt(Sn) = ((String)(Sense(Sn) + ": ")).substring(0, 9)[0]; //The name of the sense |
738 | |
739 | } |
740 | |
741 | OLine1 = ((String)(Device(1) + ": ")).substring(0, 9); //The name of the action device |
742 | |
743 | } |
744 | |
745 | |
746 | |
747 | NumberLine = NumberLine + String.valueOf(E); //the event number |
748 | |
749 | Wdth = String.valueOf(E).Length; //the space taken up by the event number |
750 | |
751 | |
752 | |
753 | |
754 | |
755 | // If I Mod 62 = 0 And I <> 0 Then 'end of line so put them in IO.Text |
756 | |
757 | // For Sn = 1 To NumSenses |
758 | |
759 | // IO.Text = IO.Text & ILines$(Sn) & vbCrLf |
760 | |
761 | // Next Sn |
762 | |
763 | // IO.Text = IO.Text & OLine1$ & vbCrLf |
764 | |
765 | // |
766 | |
767 | // For Sn = 1 To NumSenses |
768 | |
769 | // ILines$(Sn) = "" |
770 | |
771 | // Next Sn |
772 | |
773 | // OLine1$ = "" |
774 | |
775 | // End If |
776 | |
777 | |
778 | |
779 | for (Sn = 1; Sn <= NumSenses; Sn++) |
780 | { |
781 | |
782 | ILines.charAt(Sn) = ILines.charAt(Sn).toString() + (" " + INPUTS(E, Sn)).substring((" " + INPUTS(E, Sn)).length() - Wdth)[0]; |
783 | |
784 | } |
785 | |
786 | |
787 | |
788 | OLine1 = OLine1 + (" " + OUTPUTS(E, 1)).substring((" " + OUTPUTS(E, 1)).length() - Wdth); |
789 | |
790 | } |
791 | |
792 | |
793 | |
794 | IO.Text = IO.Text + NumberLine + "\r\n"; |
795 | |
796 | for (Sn = 1; Sn <= NumSenses; Sn++) |
797 | { |
798 | |
799 | IO.Text = IO.Text + ILines.charAt(Sn).toString() + "\r\n"; |
800 | |
801 | } |
802 | |
803 | IO.Text = IO.Text + OLine1 + "\r\n"; |
804 | |
805 | IO.Text = IO.Text + "\r\n"; |
806 | |
807 | |
808 | |
809 | } |
810 | |
811 | |
812 | |
813 | } //End of HISTORYDISPLAY() |
814 | |
815 | |
816 | |
817 | public final void Update_View() //called by World.LookInside_Click() to SeeHistory and Bodies.BodyFunction2() |
818 | { |
819 | |
820 | //refreshes all the subwindows |
821 | |
822 | Adapt.HISTORYDISPLAY(); |
823 | |
824 | Adapt.DUMPLTM(); |
825 | |
826 | |
827 | |
828 | } //End of Update-View() |
829 | |
830 | |
831 | |
832 | private void IO_MouseDown(int Button, int Shift, float X, float Y) |
833 | { |
834 | |
835 | |
836 | |
837 | GoWorld.SetFocus; |
838 | |
839 | |
840 | |
841 | } |
842 | |
843 | |
844 | |
845 | private void LTMem_MouseDown(int Button, int Shift, float X, float Y) |
846 | { |
847 | |
848 | |
849 | |
850 | GoWorld.SetFocus; |
851 | |
852 | |
853 | |
854 | } |
855 | |
856 | |
857 | |
858 | private void LTMTitles_MouseDown(int Button, int Shift, float X, float Y) |
859 | { |
860 | |
861 | |
862 | |
863 | GoWorld.SetFocus; |
864 | |
865 | |
866 | |
867 | } |
868 | |
869 | |
870 | |
871 | private void TraceInfo_MouseDown(int Button, int Shift, float X, float Y) |
872 | { |
873 | |
874 | |
875 | |
876 | GoWorld.SetFocus; |
877 | |
878 | |
879 | |
880 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031218 |
Snippet name: | Smarty Adapt raw |
Eternal ID of this version: | #1031218/1 |
Text MD5: | e401c0bcc9813563a757c52e3ed0200f |
Author: | stefan |
Category: | javax / dynamic modules |
Type: | JavaX (incomplete) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-20 21:41:24 |
Source code size: | 16739 bytes / 880 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 139 / 164 |
Referenced in: | [show references] |