Understanding and Using Visual Basic phần 2

Tham khảo tài liệu 'understanding and using visual basic phần 2', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Visual Basic Parsing Strings String manipulation is not really that hard. With the use of theses four functions you can parse any string that you want to. It just takes some planning as to how the data will be presented to you and how you should go about getting the data that you want out of the big string. - Data Types Intro Advanced Parsing Copyright 1999-2001 Reynolds Electronics Contact Information Reynolds Electronics 3101 Eastridge Lane Canon City co. 81212 Voice 719 269-3469 Fax 719 276-2853 Basic Stamp PIC Basic 8051 Remote Control PIC Micro Mail List Robo-Ware Site Index Home Books http 5 of 5 5 25 2004 8 47 51 PM Advanced Parsing With Visual Basic Micro-News Micro-Mailing-List Understanding and Using Visual Basic Part 4 By Jared Hoylman - Advanced String Parsing In the last article we showed the four major string parsing functions along with a few simple examples. In this article we are going to kill two birds with one stone. PBASIC is not very friendly when it comes to conditional statements. Without the kind of conditional statements beginners find it difficult to program a Basic Stamp to do exactly what they want. If the PBASIC language had the . kind of conditional statements I believe it would be much easier for beginners to learn and program the Basic Stamp. So in this article we are going to use our VB string parsing functions to make a complete application that will manipulate true VB style conditionals into functioning PBASIC code. Lets take for example a VB type If conditional. If Condition1 True Then DoCode 1 Elself Condition2 True Then DoCode 2 Else DoCode 3 End If http 1 of 11 5 25 2004 8 48 05 PM Advanced Parsing With Visual Basic This could be transformed into PBASIC code by doing the following. If Condition1 True Then DoCodel If Condition2 True Then DoCode2 DoCode 3 EndIf End of Main Program Start Extra Subs .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.