上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页
摘要: 自版本18.11后,支持UTF-8 1.字符转Unicode码 tuple_ord ('s', Ord)dev_clear_window()dev_disp_text('\'s\'的Unicode码为'+Ord, 'window', 'center', 'center', 'black','box_ 阅读全文
posted @ 2024-03-05 14:26 echo-efun 阅读(84) 评论(0) 推荐(0)
摘要: *字符截取操作 String1 := 'abcdefghij'String2 := '0123456'Message := '字符截取操作'Message[1] := 'String1 := \'abcdefghij\''Message[2] := 'String2 := \'0123456\''d 阅读全文
posted @ 2024-03-05 13:20 echo-efun 阅读(55) 评论(0) 推荐(0)
摘要: 1.整形数组操作 dev_clear_window()TupleInt1 := [3,1,2,9,1]dev_disp_text('整形数组操作', 'window', 60, 0, 'white', 'box_color', '#00ffff4c')dev_disp_text('数组TupleIn 阅读全文
posted @ 2024-03-05 11:09 echo-efun 阅读(63) 评论(0) 推荐(0)
摘要: dev_clear_window()dev_disp_text('欧几里得距离计算', 'window', 200, 200, 'black','box_color', '#00ffffc0')V1 := [18.8,132.4,33,19.3]dev_disp_text('V1='+V1, 'wi 阅读全文
posted @ 2024-03-05 09:52 echo-efun 阅读(115) 评论(0) 推荐(0)
摘要: 1.周期为2pi正弦函数绘制 dev_close_window () dev_open_window (0, 0, 512, 512, 'black', WindowID) dev_set_part (0, 0, 511, 511) old_x := 0 old_y := 0 Rate:= 1 de 阅读全文
posted @ 2024-03-05 09:35 echo-efun 阅读(76) 评论(0) 推荐(0)
摘要: dev_clear_window()dev_disp_text('数128位左移两位为'+lsh(128,2), 'window', 'center', 'center', 'black','box_color', '#00ffffc0') dev_clear_window()dev_disp_te 阅读全文
posted @ 2024-03-05 09:17 echo-efun 阅读(70) 评论(0) 推荐(0)
摘要: Tuple1 := [1,2,3,4,5] Number := |Tuple1|dev_clear_window()dev_disp_text('Tuple1 := [1,2,3,4,5]'+'大小为'+Number, 'window', 'center', 'center', 'black','b 阅读全文
posted @ 2024-03-04 15:51 echo-efun 阅读(69) 评论(0) 推荐(0)
摘要: R1 := 1 == 1.0dev_clear_window()dev_disp_text('R1 := 1 == 1.0'+' \n判断结果'+R1, 'window', 'center', 'center', 'black','box_color', '#00ffffc0') R2 := [] 阅读全文
posted @ 2024-03-04 15:34 echo-efun 阅读(58) 评论(0) 推荐(0)
摘要: 整数i:=123操作: 1.十进制转八进制 dev_clear_window()dev_disp_text('十进制'+i+'转为八进制为'+i$'#o', 'window', 'center', 'center', 'black','box_color', '#00ffffc0') 2.十进制转1 阅读全文
posted @ 2024-03-04 15:14 echo-efun 阅读(75) 评论(0) 推荐(0)
摘要: R1 := 5 * 5 R2 := 5 * 5 R3 := [1,2,3] * 2 R4 := [1,2,3] * 2.1 + 10 R5 := [1,2,3] * [1,2,3] R6 := 'Text1' + 'Text2' R7 := 17.23 + 'Text' R8 := 'Text1 ' 阅读全文
posted @ 2024-03-04 14:19 echo-efun 阅读(38) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 20 下一页