2009年5月13日 星期三

卡提諾王國_[資訊] 一些奇形怪狀的Hello World

文章內文:

以一些奇形怪狀的版本表示

LS-DYNA:
  1. LS-DYNA
  2. Back to index

  3. $ "Hello World" for LS-DYNA
  4. *KEYWORD
  5. *PART

  6. 1 1 1
  7. *SECTION_BEAM
  8. 1 1 1.0 2 1
  9. 1.0 1.0 0.0 0.0 1 1
  10. *MAT_ELASTIC
  11. 1 1.0E-9 1000.0 0.3
  12. *ELEMENT_BEAM
  13. 1 1 2 3 1
  14. 2 1 3 4 1
  15. 3 1 3 6 1
  16. 4 1 6 5 1
  17. 5 1 8 11 1
  18. 6 1 11 12 1
  19. 7 1 12 9 1
  20. 8 1 9 8 1
  21. 9 1 8 7 1
  22. 10 1 7 10 1
  23. 11 1 14 16 1
  24. 12 1 16 15 1
  25. 13 1 13 15 1
  26. 14 1 15 17 1
  27. 15 1 19 21 1
  28. 16 1 21 20 1
  29. 17 1 18 20 1
  30. 18 1 20 22 1
  31. 19 1 23 24 1
  32. 20 1 24 26 1
  33. 21 1 26 25 1
  34. 22 1 25 23 1
  35. 23 1 27 28 1
  36. 24 1 28 29 1
  37. 25 1 29 30 1
  38. 26 1 30 31 1
  39. 27 1 32 33 1
  40. 28 1 33 35 1
  41. 29 1 35 34 1
  42. 30 1 34 32 1
  43. 31 1 36 37 1
  44. 32 1 37 38 1
  45. 33 1 40 42 1
  46. 34 1 42 41 1
  47. 35 1 39 41 1
  48. 36 1 41 43 1
  49. 37 1 44 45 1
  50. 38 1 45 47 1
  51. 39 1 48 47 1
  52. 40 1 47 46 1
  53. 41 1 46 44 1
  54. *NODE
  55. 1 0.0 0.0 1.0
  56. 2
  57. 3 0.0 2.0
  58. 4 0.0 4.0
  59. 5 2.0
  60. 6 2.0 2.0
  61. 7 3.0
  62. 8 3.0 1.0
  63. 9 3.0 2.0
  64. 10 5.0
  65. 11 5.0 1.0
  66. 12 5.0 2.0
  67. 13 6.0
  68. 14 6.0 4.0
  69. 15 7.0
  70. 16 7.0 4.0
  71. 17 8.0
  72. 18 9.0
  73. 19 9.0 4.0
  74. 20 10.0
  75. 21 10.0 4.0
  76. 22 11.0
  77. 23 12.0
  78. 24 12.0 2.0
  79. 25 14.0
  80. 26 14.0 2.0
  81. 27 16.0 2.0
  82. 28 16.5
  83. 29 17.0 1.0
  84. 30 17.5
  85. 31 18.0 2.0
  86. 32 19.0
  87. 33 19.0 2.0
  88. 34 21.0
  89. 35 21.0 2.0
  90. 36 22.0
  91. 37 22.0 2.0
  92. 38 24.0 2.0
  93. 39 25.0
  94. 40 25.0 4.0
  95. 41 26.0
  96. 42 26.0 4.0
  97. 43 27.0
  98. 44 28.0
  99. 45 28.0 2.0
  100. 46 30.0
  101. 47 30.0 2.0
  102. 48 30.0 4.0
  103. *END
複製代碼
Redcode:
  1. ; Hello World in Redcode
  2. ; Should work with any MARS >= ICWS-86
  3. ; (with 128x64 gfx core support, of course!)
  4. ;
  5. Start MOV 0,2455
  6. MOV 0,2458
  7. MOV 0,2459
  8. MOV 0,2459
  9. MOV 0,2459
  10. MOV 0,2459
  11. MOV 0,2459
  12. MOV 0,2460
  13. MOV 0,2465
  14. MOV 0,2471
  15. MOV 0,2471
  16. MOV 0,2471
  17. MOV 0,2479
  18. MOV 0,2482
  19. MOV 0,2484
  20. MOV 0,2484
  21. MOV 0,2484
  22. MOV 0,2486
  23. MOV 0,2486
  24. MOV 0,2486
  25. MOV 0,2486
  26. MOV 0,2488
  27. MOV 0,2493
  28. MOV 0,2493
  29. MOV 0,2493
  30. MOV 0,2493
  31. MOV 0,2497
  32. MOV 0,2556
  33. MOV 0,2559
  34. MOV 0,2560
  35. MOV 0,2565
  36. MOV 0,2570
  37. MOV 0,2575
  38. MOV 0,2578
  39. MOV 0,2585
  40. MOV 0,2588
  41. MOV 0,2589
  42. MOV 0,2592
  43. MOV 0,2593
  44. MOV 0,2596
  45. MOV 0,2597
  46. MOV 0,2603
  47. MOV 0,2605
  48. MOV 0,2608
  49. MOV 0,2667
  50. MOV 0,2670
  51. MOV 0,2671
  52. MOV 0,2676
  53. MOV 0,2681
  54. MOV 0,2686
  55. MOV 0,2689
  56. MOV 0,2696
  57. MOV 0,2699
  58. MOV 0,2700
  59. MOV 0,2703
  60. MOV 0,2704
  61. MOV 0,2707
  62. MOV 0,2708
  63. MOV 0,2714
  64. MOV 0,2716
  65. MOV 0,2719
  66. MOV 0,2778
  67. MOV 0,2778
  68. MOV 0,2778
  69. MOV 0,2778
  70. MOV 0,2778
  71. MOV 0,2779
  72. MOV 0,2779
  73. MOV 0,2779
  74. MOV 0,2782
  75. MOV 0,2787
  76. MOV 0,2792
  77. MOV 0,2795
  78. MOV 0,2802
  79. MOV 0,2805
  80. MOV 0,2806
  81. MOV 0,2809
  82. MOV 0,2810
  83. MOV 0,2810
  84. MOV 0,2810
  85. MOV 0,2810
  86. MOV 0,2812
  87. MOV 0,2818
  88. MOV 0,2820
  89. MOV 0,2823
  90. MOV 0,2882
  91. MOV 0,2885
  92. MOV 0,2886
  93. MOV 0,2891
  94. MOV 0,2896
  95. MOV 0,2901
  96. MOV 0,2904
  97. MOV 0,2911
  98. MOV 0,2912
  99. MOV 0,2913
  100. MOV 0,2914
  101. MOV 0,2917
  102. MOV 0,2918
  103. MOV 0,2919
  104. MOV 0,2922
  105. MOV 0,2928
  106. MOV 0,2930
  107. MOV 0,2933
  108. MOV 0,2992
  109. MOV 0,2995
  110. MOV 0,2996
  111. MOV 0,3001
  112. MOV 0,3006
  113. MOV 0,3011
  114. MOV 0,3014
  115. MOV 0,3021
  116. MOV 0,3022
  117. MOV 0,3023
  118. MOV 0,3024
  119. MOV 0,3027
  120. MOV 0,3028
  121. MOV 0,3030
  122. MOV 0,3032
  123. MOV 0,3038
  124. MOV 0,3040
  125. MOV 0,3103
  126. MOV 0,3106
  127. MOV 0,3107
  128. MOV 0,3107
  129. MOV 0,3107
  130. MOV 0,3107
  131. MOV 0,3107
  132. MOV 0,3108
  133. MOV 0,3108
  134. MOV 0,3108
  135. MOV 0,3108
  136. MOV 0,3108
  137. MOV 0,3109
  138. MOV 0,3109
  139. MOV 0,3109
  140. MOV 0,3109
  141. MOV 0,3109
  142. MOV 0,3111
  143. MOV 0,3111
  144. MOV 0,3111
  145. MOV 0,3120
  146. MOV 0,3121
  147. MOV 0,3124
  148. MOV 0,3124
  149. MOV 0,3124
  150. MOV 0,3126
  151. MOV 0,3129
  152. MOV 0,3130
  153. MOV 0,3130
  154. MOV 0,3130
  155. MOV 0,3130
  156. MOV 0,3130
  157. MOV 0,3131
  158. MOV 0,3131
  159. MOV 0,3131
  160. MOV 0,3131
  161. MOV 0,3135
  162. JMP 0
複製代碼
Whitespace:
  1. Hello #World #in #Whitespace * # # * # # #
  2. + *[Space]
  3. + #is #marked #with"#" # #[tab] #with"*" *line-feed #with #"+" * # *so
  4. +it #would
  5. +be #easier #to #write #again... #All *the *non-whitespace-characters #are *ignored... * # #
  6. + *
  7. + # # # # # * * # * * # #
  8. + *
  9. + # # # # # * * # * * * *
  10. + *
  11. + # # # # # * # # # # #
  12. + *
  13. + # # # # # * # * # * * *
  14. + *
  15. + # # # # # * * # * * * *
  16. + *
  17. + # # # # # * * * # # * #
  18. + *
  19. + # # # # # * * # * * # #
  20. + *
  21. + # # # # # * * # # * # #
  22. + *
  23. + # # # # # * # # # # *
  24. + *
  25. + # # # # # * # * #
  26. + *
  27. + # #
  28. +
  29. +
  30. +
複製代碼
Spiral:
  1. Hello World in Spiral. No comment character exists.

  2. e0v *** *eXlv** *lX *2X **oXi
  3. v * * * * * * 2 * o ** v*
  4. * * * * * ***** * v * v * *iX *
  5. * * * * * * * ^ v * * * w *
  6. * *** * * ***** * v * * * * v *
  7. * * * ^ * ^ * * * * * *
  8. * *** * * ****v * v * * v * * *
  9. * * * * * * * * * * ^ * * *
  10. * * * * * ***** * ***** * ***** * *** *
  11. * * * * * * * * * * ** **
  12. *** *** ******* *****v^ ******* *****

  13. *wX *** **3Xp *rX4.. d5* qd**
  14. * 3 * * ** v^ * .. * * * ***
  15. * v * ^ * #pX v * .. . * * * **
  16. * *** v * # r # * .. . * * * !q* *
  17. * * * * * # v # * 54 .. * * * * * *
  18. * * * * * # * # * @X * * * * * *
  19. * * * * * # * # * v * * * * * *
  20. * * * * * # * # * * ** * * * * * *
  21. * * * * # * # * ** ** * * * *** *
  22. * * * * #v* ^ * *** * * ***** * **
  23. ** * ** ** *v * * * * * * * ***
  24. ***** *v^** *** *** ******* ****
複製代碼
LabVIEW:


G-Code:
  1. Hello World in "G Code" for CNC machines.

  2. Click here for a preview.

  3. %
  4. O1000
  5. (PROGRAM NAME - HELLOWORLD)
  6. (DATE=DD-MM-YY - 30-06-05 TIME=HH:MM - 19:37)
  7. N10G20
  8. N20G0G17G40G49G80G90
  9. /N30G91G28Z0.
  10. /N40G28X0.Y0.
  11. /N50G92X0.Y0.Z0.
  12. ( 1/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .0625)
  13. (CONTOUR)
  14. N60T1M6
  15. N70G0G90X0.Y1.A0.S5000M3
  16. N80G43H1Z.5
  17. N90Z.25
  18. N100G1Z-.005F2.
  19. N110Y0.F20.
  20. N120G0Z.5
  21. N130X.5
  22. N140Z.25
  23. N150G1Z-.005F2.
  24. N160Y1.F20.
  25. N170G0Z.5
  26. N180Y.6106
  27. N190Z.25
  28. N200G1Z-.005F2.
  29. N210X0.F20.
  30. N220G0Z.5
  31. N230X.6157Y.4712
  32. N240Z.25
  33. N250G1Z-.005F2.
  34. N260X.6039Y.4135F20.
  35. N270X.6Y.351
  36. N280X1.1
  37. N290G3X1.0098Y.6202R.4333
  38. N300X.8941Y.6971R.2625
  39. N310X.7255Y.6538R.1837
  40. N320X.6157Y.4712R.332
  41. N330G0Z.5
  42. N340X.6Y.351
  43. N350Z.25
  44. N360G1Z-.005F2.
  45. N370X.6039Y.2885F20.
  46. N380G3X.7255Y.0481R.385
  47. N390X.9745R.1853
  48. N400X1.0843Y.2308R.332
  49. N410G0Z.5
  50. N420X1.2039Y0.
  51. N430Z.25
  52. N440G1Z-.005F2.
  53. N450Y1.F20.
  54. N460G0Z.5
  55. N470X1.3098
  56. N480Z.25
  57. N490G1Z-.005F2.
  58. N500Y0.F20.
  59. N510G0Z.5
  60. N520X1.4706Y.125
  61. N530Z.25
  62. N540G1Z-.005F2.
  63. N550X1.502Y.0817F20.
  64. N560G3X1.6176Y.0048R.2625
  65. N570X1.7863Y.0481R.1837
  66. N580X1.9118Y.351R.3957
  67. N590X1.8216Y.6202R.4333
  68. N600X1.7059Y.6971R.2625
  69. N610X1.5373Y.6538R.1837
  70. N620X1.4157Y.4135R.358
  71. N630X1.4706Y.125R.4611
  72. N640G0Z.5
  73. N650X1.9853Y0.
  74. N660Z.25
  75. N670G1Z-.005F2.
  76. N680X2.0422Y.1442F20.
  77. N690G0Z.5
  78. N700X2.5706Y1.
  79. N710Z.25
  80. N720G1Z-.005F2.
  81. N730X2.6961Y0.F20.
  82. N740X2.8216Y1.
  83. N750X2.9451Y0.
  84. N760X3.0706Y1.
  85. N770G0Z.5
  86. N780X3.2961Y.6538
  87. N790Z.25
  88. N800G1Z-.005F2.
  89. N810X3.2608Y.6202F20.
  90. N820G3X3.1745Y.2885R.4408
  91. N830X3.2961Y.0481R.385
  92. N840X3.5451R.1853
  93. N850X3.6706Y.351R.3957
  94. N860X3.5804Y.6202R.4333
  95. N870X3.4647Y.6971R.2625
  96. N880X3.2961Y.6538R.1837
  97. N890G0Z.5
  98. N900X3.7461Y.7019
  99. N910Z.25
  100. N920G1Z-.005F2.
  101. N930Y0.F20.
  102. N940G0Z.5
  103. N950Y.3654
  104. N960Z.25
  105. N970G1Z-.005F2.
  106. N980X3.7637Y.4663F20.
  107. N990G2X3.8422Y.6587R.4948
  108. N1000X3.9167Y.7019R.0929
  109. N1010G1X4.0755
  110. N1020G2X4.15Y.6587R.0929
  111. N1030X4.1951Y.5769R.246
  112. N1040G0Z.5
  113. N1050X4.3255Y1.
  114. N1060Z.25
  115. N1070G1Z-.005F2.
  116. N1080Y0.F20.
  117. N1090G0Z.5
  118. N1100X4.9275
  119. N1110Z.25
  120. N1120G1Z-.005F2.
  121. N1130Y1.F20.
  122. N1140G0Z.5
  123. N1150X5.0314
  124. N1160Z.25
  125. N1170G1Z-.005F2.
  126. N1180Y.2981F20.
  127. N1190G0Z.5
  128. N1200X4.9275Y.274
  129. N1210Z.25
  130. N1220G1Z-.005F2.
  131. N1230X4.8941Y.1731F20.
  132. N1240G2X4.7627Y.0192R.3255
  133. N1250X4.5529Y.0481R.1862
  134. N1260X4.4314Y.2885R.358
  135. N1270X4.5176Y.6202R.4408
  136. N1280X4.6333Y.6971R.2625
  137. N1290X4.802Y.6538R.1837
  138. N1300X4.8941Y.5288R.3457
  139. N1310G1X4.9275Y.4279
  140. N1320G0Z.5
  141. N1330X5.0314Y.149
  142. N1340Z.25
  143. N1350G1Z-.005F2.
  144. N1360Y0.F20.
  145. N1370G0Z.5
  146. N1380M5
  147. N1390G91G28Z0.
  148. N1400G28X0.Y0.A0.
  149. N1410M30
  150. %
複製代碼
Quartz Composer:



以上資料取自:
http://www.roesler-ac.de/wolfram/hello.htm

原文連結:

http://ck101.com/forums/viewthread.php?tid=1376262&extra=page%3D1%26amp%3Bfilter%3Dtype%26amp%3Btypeid%3D15