MSWLogo là một ngôn ngữ thông dịch dựa trên Logo, với một kết thúc trước GUI. Cốt lõi của nó giống như UCBLogo bởi Brian Harvey. Đây là phần mềm miễn phí, mã nguồn có sẵn, trong Borland C + +. MSWLogo hỗ trợ rùa nhiều, và đồ họa 3D. MSWLogo cho phép đầu vào từ cổng COM và cổng LPT. MSWLogo cũng hỗ trợ một giao diện cửa sổ như vậy, I / O có sẵn thông qua giao diện và bàn phím này và các sự kiện chuột có thể kích hoạt ngắt. Cũng có thể được sản xuất đơn giản, hình ảnh động GIF trên MSWLogo phiên bản 6.5 với lệnh gifsave.

Lệnh Chức năng Chữ viết tắt
Forward rùa đi tới FD
Back rùa lùi lại BK
Right rùa quay phải RT
Left rùa quay trái LT
Clean rùa xoá màn hình CS
Cleartext xoá hết các dòng lệnh đã ghi CT
showturtle hiển thị rùa ST
Hideturtle rùa trốn đi HT
Penup rùa để bút lên PU
Pendown rùa đặt bút xuống PD
ABS báo cáo giá trị tuyệt đối của một số
ActiveWindow báo cáo tên của cửa sổ đồ họa hoạt động
AGET lấy một phần tử mảng
ALERT hiển thị một hộp cảnh báo
ALIAS định nghĩa một tên bí danh
ALLTURTLES kết quả đầu ra một danh sách của tất cả các loài rùa và thực hiện một cách hợp lý
APPENDMENU gắn thêm một trình đơn mới
APPENDMENUCOMMAND gắn thêm một mục trình đơn mới và gắn nó vào một danh sách lệnh Logo
APPENDMENUITEM gắn thêm một mục trình đơn mới và xác định một mục trình đơn ID
Arccos báo cáo arccosine ACOS
ARCCOT báo cáo arccotangent ACOT
ARCCSC báo cáo arccosecant ACSC
ARCSEC báo cáo arcsecant ASEC
Arcsin báo cáo arcsine ASIN
Arctan báo cáo arctangent ATAN
ARRAY tạo ra một mảng
ARRAYDIMS kết quả đầu ra danh sách kích thước của một mảng
ASET lưu giữ một phần tử mảng
ASK chạy một danh sách các lệnh cho một đối tượng cụ thể
REPEAT lặp lại
Aroundcircle vẽ cung tròn ARC
Aroundcircle2 Vẽ cung tròn,Rùa chạy theo đường tròn ARC2
ELLIPSE x.ngang y.cao: Vẽ hình elip với 2 thông số, chiều ngang theo trục x chiều cao theo trục y, rùa đứng yên tại chỗ

ARC a r: Vẽ cung tròn với góc là a và bán kính là r. Sau khi vẽ xong rùa đứng yên tại chỗ.

ARC2 a r: Vẽ cung tròn góc a và bán kính r. Vẽ tới đâu rùa đi theo tới đó.

ELLIPSE x.ngang y.cao: Vẽ hình elip với 2 thông số, chiều ngang theo trục x chiều cao theo trục y, rùa đứng yên tại chỗ.

ELLIPSE2 x.ngang y.cao: Vẽ hình elip với 2 thông số, chiều ngang theo trục x chiều cao theo trục y, rùa chạy theo đường ellipse.

ELLIPSEARCđộ dài cungxygóc:

Ví dụ muốn vẻ 1 nửa vòng ellipse ở phía trước mặt rùa (90) lệnh như sau:

ELLIPSEARC 180 150 80 90

Các bạn thay đổi số 90 sẽ hiểu ra cách làm, nếu muốn rùa chạy theo khi vẽ thì dùng ELLIPSEARC2.

CIRCLE r: Vẽ hình trong bán kính r rùa đứng tại tâm.

CIRCLE2 r: Vẽ hình trong bán kính r rùa di chuyển theo đường tròn, sau khi hành thành rùa nẳm trên đừng tròn.

Nhóm lệnh in kết quả, thông báo.

SHOW [nội dung, kết quả muốn in ], lệnh tương tự PRINT viết tắt PR ví dụ Show 1+2+3 hoặc PR 1+2+3 đều cho ra kết quả là 6 ở trong cửa sổ lệnh.

Lệnh LABEL thì hiện ra kết quả ở sân chơi, nếu muốn hiện thị theo chiều ngang thì cúng ta phải xoay rùa về phải 90 độ.

CT Làm sạch cửa sổ lệnh.

Nhóm lệnh về bút vẽ, màu sắc.

PU viết đầy đủ là Pen Up lệnh này nhấc viết của rùa lên và kết quả là khi di chuyển rùa không để lại dấu vết.

PD viết đủ là Pen Down lệnh này hạ viết của rùa xuống. Các lệnh di chuyển sau lệnh này ta sẽ thấy dấu vết của sự di chuyển.

SetPenSize n Thiết lập độ dày, mỏng của nét vẽ. Lệnh này có thể thực hiện qua Menu Set→Pen Size …

SetPC [Red Green Blue] Thiết lập màu cho bút vẽ Red, Green, Blue có giá trị từ 0→255, ví dụ SetPC [255 0 0] sẽ cho ta màu đỏ.

Setfloodcolor [R G B] viết tắt SETFC[R G B] Cài đặt màu nền sẽ tô bằng lệnh FILL

FILL Tô màu nền trong phạm vi khép kín của hình. Màu nền tô đã được báo trước bằng lệnh Setfloodcolor.

Ví dụ

Setfloodcolor [255 0 0 ]; tô nền màu đỏ

FD 100 RT 120 FD 100 RT 120 FD 100; vẽ tam giác đều độ dài cạnh 100

PU; nhấc bút

LT 45; xoay trái 45 độ

BK 50; đi lùi 50 bước. 3 dòng lệnh PU LT và BK mục đích là đưa rùa vào bên trong hình tam giác đều

FILL

Kết quả ta được hình tam giác tô màu đỏ.

Các bạn có để ý thấy ở ví dụ trên tôi viết lệnh; giải thích. MSWLogo quy định rằng nội dung sau dấu; sẽ là các ghi chú của người dùng MSWLogo sẽ không quan tâm tới những nội dung ghi sau dấu;

Nhóm lệnh về rùa và vị trí rùa.

HT ẩn rùa, không thấy hình tam giác (Rùa) trên sân chơi nữa.

ST hiện rùa.

SETPOS [Tọa-độ-X Tọa-độ-Y] đưa rùa tới vị trí X,Y. Chú ý nếu rùa đang ở chế độ Pen down thì nó sẽ tạo thành đường đi. Lệnh SETXY x y cũng có chức năng tương tự.

SETX x di chuyển rùa theo cột x (x>0 qua phải, x<0 qua trái) rùa giữ nguyên hướng.

SETY y di chuyển rùa lên nếu y>0, xuống nếu y<0

SHOWPOS cho ta biết vị trí hiện tại của rùa.

CS Xóa sân chơi đưa rùa về vị trí ban đầu.

HOME Đưa rùa về vị trí ban đầu.

69 BÌNH LUẬN

  1. My brother recommended I might like this website. He was totally right.
    This post truly made my day. You can not imagine just how much time I had spent for this info!
    Thanks!

  2. Hello there! I could have sworn I’ve visited this website before but after browsing through
    some of the articles I realized it’s new to me. Regardless, I’m certainly pleased I came across it and I’ll be bookmarking it and
    checking back frequently!

  3. Pretty nice post. I just stumbled upon your weblog and wished to say that I’ve really enjoyed
    browsing your blog posts. In any case I’ll be subscribing to your feed and I
    hope you write again soon!

  4. Superb post however I was wondering if you could write a litte more
    on this subject? I’d be very grateful if you could elaborate a little bit more.
    Appreciate it!

  5. I was curious if you ever thought of changing the layout
    of your website? Its very well written; I love what youve
    got to say. But maybe you could a little more in the way
    of content so people could connect with it better.
    Youve got an awful lot of text for only having one or two pictures.
    Maybe you could space it out better?

  6. I was recommended this web site by my cousin. I am not sure whether
    this post is written by him as no one else
    know such detailed about my difficulty. You’re incredible!
    Thanks!

  7. Fantastic beat ! I would like to apprentice while you amend your site,
    how can i subscribe for a blog website? The account aided me a
    acceptable deal. I had been tiny bit acquainted of this your
    broadcast offered bright clear idea

  8. I believe this is one of the most significant info for me.
    And i’m happy reading your article. But should remark on few normal things, The web site style is ideal, the articles is in point of fact nice
    : D. Excellent process, cheers

  9. It’s appropriate time to make some plans for the longer term and
    it is time to be happy. I have read this post and if I may just I desire to counsel
    you few fascinating issues or tips. Perhaps you could write
    next articles regarding this article. I wish to learn more issues about it!

  10. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my
    blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some
    time and was hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

  11. What’s Happening i am new to this, I stumbled
    upon this I have found It absolutely useful and it has aided me out loads.
    I’m hoping to give a contribution & help different users like its helped me.
    Great job.

  12. When I originally commented I clicked the “Notify me when new comments are added” checkbox
    and now each time a comment is added I get several e-mails with the
    same comment. Is there any way you can remove me from
    that service? Appreciate it!

  13. Hello! I could have sworn I’ve been to this site before but after reading through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back often!

  14. Good day! Would you mind if I share your blog with my zynga
    group? There’s a lot of people that I think would really enjoy
    your content. Please let me know. Thanks

  15. A motivating discussion is worth comment. I think that you
    ought to write more about this subject, it might not be
    a taboo subject but usually people don’t talk about such subjects.
    To the next! Many thanks!!

  16. I know this if off topic but I’m looking into starting my own blog and was wondering
    what all is required to get setup? I’m assuming having a
    blog like yours would cost a pretty penny? I’m not very internet savvy
    so I’m not 100% positive. Any suggestions or advice would be greatly appreciated.
    Thank you

  17. Hi there would you mind sharing which blog platform you’re working with?
    I’m looking to start my own blog soon but I’m
    having a difficult time choosing between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your layout seems different then most
    blogs and I’m looking for something completely unique.
    P.S Sorry for being off-topic but I had to ask!

  18. Hello, I think your blog might be having browser compatibility issues.

    When I look at your blog site in Ie, it looks fine but when opening in Internet Explorer, it has some
    overlapping. I just wanted to give you a quick heads up!
    Other then that, superb blog!

  19. Hello, I do believe your website could be having browser compatibility problems.
    Whenever I take a look at your site in Safari, it looks fine but when opening in IE, it has some overlapping issues.

    I merely wanted to give you a quick heads up! Besides that,
    excellent website!

  20. I am not sure where you’re getting your info,
    but great topic. I needs to spend some time
    learning much more or understanding more. Thanks for great information I was looking for
    this info for my mission.

  21. I was suggested this blog by my cousin. I am not sure
    whether this post is written by him as nobody else know such detailed about my problem.
    You’re amazing! Thanks!

  22. Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something.

    I think that you could do with some pics to drive the message home a
    little bit, but other than that, this is magnificent blog.

    An excellent read. I will definitely be back.

  23. After looking into a number of the articles on your web site, I really appreciate
    your technique of writing a blog. I saved it to my bookmark webpage list and
    will be checking back soon. Please check out my web site as well and let
    me know what you think.

  24. I was recommended this website by my cousin. I’m not sure whether this
    post is written by him as nobody else know such detailed about my problem.
    You’re wonderful! Thanks!

  25. I would like to thank you for the efforts you’ve put in penning this site.

    I’m hoping to view the same high-grade content from you
    later on as well. In truth, your creative writing abilities has inspired
    me to get my very own website now 😉

  26. It is perfect time to make some plans for the future
    and it’s time to be happy. I’ve read this post and if I could I want
    to suggest you few interesting things or tips. Maybe you could write next articles referring to this
    article. I wish to read more things about it!

  27. Very great post. I simply stumbled upon your blog and wanted to say that I
    have truly enjoyed browsing your weblog posts. In any case I’ll be subscribing to your
    rss feed and I am hoping you write again very soon!

  28. Does your site have a contact page? I’m having trouble locating it but, I’d
    like to shoot you an email. I’ve got some recommendations for your blog
    you might be interested in hearing. Either way,
    great website and I look forward to seeing it grow over
    time.

  29. My programmer is trying to persuade me to move to .net from PHP.
    I have always disliked the idea because of the expenses.
    But he’s tryiong none the less. I’ve been using Movable-type
    on a variety of websites for about a year and am anxious about switching to another
    platform. I have heard very good things about blogengine.net.
    Is there a way I can import all my wordpress content into
    it? Any kind of help would be really appreciated!

  30. You actually make it appear really easy together with your presentation however I find this matter to be actually something that I feel I
    might never understand. It seems too complicated and very huge for me.
    I am looking ahead for your subsequent put up,
    I’ll try to get the hold of it!

  31. I am extremely impressed with your writing skills and also with the layout on your weblog.
    Is this a paid theme or did you modify it yourself? Anyway keep up the excellent
    quality writing, it is rare to see a great blog like this
    one these days.

  32. Thanks for a marvelous posting! I definitely enjoyed reading it, you happen to be a great author.
    I will be sure to bookmark your blog and will often come back down the road.
    I want to encourage you to ultimately continue your great work,
    have a nice weekend!

  33. Your style is unique in comparison to other people I have read stuff from.
    Many thanks for posting when you’ve got the opportunity, Guess I will
    just book mark this page.

  34. You have made some decent points there. I checked on the
    web for more information about the issue and found most individuals will
    go along with your views on this site.

  35. After looking into a handful of the articles on your blog, I
    truly like your technique of writing a blog. I bookmarked it to my bookmark webpage list and will be checking back in the near future.
    Take a look at my website too and tell me how you feel.

  36. whoah this blog is excellent i love studying your articles.
    Stay up the good work! You realize, lots of people
    are hunting round for this information, you can aid them greatly.

  37. Its like you read my mind! You seem to know so much about this,
    like you wrote the book in it or something. I think that you could
    do with some pics to drive the message home a little bit, but other than that, this is excellent blog.
    A fantastic read. I’ll certainly be back.

  38. You actually make it seem so easy with your presentation but I find this matter
    to be actually something that I think I would never understand.
    It seems too complex and extremely broad for me. I’m looking forward for your next
    post, I’ll try to get the hang of it!

  39. Greate post. Keep writing such kind of information on your page.
    Im really impressed by your site.
    Hey there, You have done an excellent job.
    I will certainly digg it and in my opinion suggest to my
    friends. I’m sure they’ll be benefited from this web site.

  40. Hey there just wanted to give you a quick heads up.
    The words in your post seem to be running off the screen in Internet
    explorer. I’m not sure if this is a format issue or something to do
    with browser compatibility but I figured I’d post to let you
    know. The design look great though! Hope you get the problem solved soon. Thanks

  41. Hello! Do you know if they make any plugins to protect against hackers?

    I’m kinda paranoid about losing everything I’ve worked hard on. Any recommendations?

  42. An interesting discussion is definitely worth comment.
    There’s no doubt that that you ought to publish more on this
    issue, it might not be a taboo matter but generally people do not talk about these subjects.
    To the next! Kind regards!!

  43. Do you have a spam issue on this blog; I also am a blogger, and I was
    curious about your situation; many of us have developed some nice methods and we
    are looking to exchange techniques with others, why not shoot me an email if interested.

THOÁT KHỎI BÌNH LUẬN

Please enter your comment!
Please enter your name here