vb»ù´¡ - VB / »ù´¡Àà
Private Sub Command1_Click()
Dim a(1 To 7)
For i = 1 To 7
a(i) = i: Print a(i)
Next i
Print
For i = 1 To 7
t = a(7)
For £¿£¿£¿£¿
a(j + 1) = a(j)
Next j
£¿£¿£¿£¿
For j = i To 7
Print a(j)
Next j
£¿£¿£¿£¿
Next i
End Sub
Ä¿µÄÊÇ´òÓ¡³ö
1234567
7123456
6712345
5671234
4567123
3456712
2345671
1234567
°ïÂ¥Ö÷¶¥ÉÏÈ¥¡£¡£
Dim a(1 To 7)
For i = 1 To 7
a(i) = i: Print a(i)
Next i
Õâ¶Î´úÂë¾ÍÒѾÎÞ·¨ÊµÏÖ 1234567
Äã½ÐÈËÔõô°ïÄãÌîÄÇЩÎʺÅ
For £¿£¿£¿£¿
a(j + 1) = a(j)
Next j
£¿£¿£¿£¿
For j = i To 7
Print a(j)
Next j
£¿£¿£¿£¿
Next i
VB code:
Private Sub Form_Load()
AutoRedraw = True
Dim i&, j&
For i = 0 To 15
For j = 0 To 6
Print CStr((j + 7 - i Mod 7) Mod 7 + 1);
Next
Print
Next
End Sub
ÄãÖ»´òÓ¡£¸ÐУ¬
For i = 0 To 7
¾Í¿ÉÒÔÁË¡£
Ö»Ìṩһ¸ö˼·
Ïà¹ØÎÊ´ð£º
VBÔõÑù»ñµÃÊó±ê´¦µÄ³¬¼¶Á¬½ÓÄØ£¿
ÔÚWebBrowser¿Ø¼þÖÐÓÐÕâÑùÒ»¸öʼþ:StatusTextChange(index As Integer, ByVal Text As String)
ËüµÄText²ÎÊýÕýÊÇÊó±ê´¦µÄ³¬¼¶Á¬½Ó,µ«ÎÊÌâÊÇÈç¹ûÎÒµÄä¯ÀÀÆ÷Õýà ......
ÎÒÔÚÀàÖÐÓÐÒ»¸öº¯Êý
Public Function DownloadAdditionalSite(SiteName As siteconfig, Directory As String, ymd As String) As Boolean
siteconfigÊÇÎÒ×Ô¶¨ÒåÀàÐ͵ÄÊý¾Ý£¬ÎªÊ²Ã´»áÌáʾ¡°Ö»ÓÐÔÚ¹«¹²¶ÔÏóÄ£¿éÖж ......
Ôõô°ÑÒÑÖªµÄÊý¾Ý±£´æ³ÉxmlÎļþ£¬ÏÖÔÚÒÑÖªµÄÊý¾ÝÊÇ
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o=& ......
ËÄܰïÎÒ°ÑÏÂÃæÕâЩ´úÂë¸Ä³ÉVBÐÎʽµÄ£¬¶àлÁË£¬¼±ÓÃ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[],float g ......
ͦ·±Ëö£¬Ö®Ç°·¢µÄÌû×Ó£¬·Öֵ̫µÍÏÖÔÚÖØ·¢Ò»¸ö¡£»¶Ó¸÷λ´óÏÀ~~
#include "stdlib.h"
#include "math.h"
#include "stdio.h"
float objfx(float x[]);
void constraint(float x[] ......