程式設計學習進度與心得 新文章
第一週9月7日
老師給範本
學生改,如此學習。
第二週9月14日
學習
<input type="button" value="2020年每天的貨幣數量"onclick=draw()">
<div> <span style="font-size: large;">
<b> <label> 選擇顏色:< /label> <label> < input name="color" type="radio"> 黑色 < /label> <label> < input name="color" type="radio"> 紅色
< /label> <label> < input name="color" type="radio"< 綠色 > /label> <label> < input name="color" type="radio"> 藍色 < /label> </b> < /span> < /div>< br> <input onclick="draw()" type="button" value="2020年每天通貨走勢" />
第三週9月21日
學習input還又表單form
在HTML處增加。
<form><b>選擇顏色:
<input id="linecolor" type="checkbox">紅色
<input onclick="draw()" type="button" value="2020年每天通貨走勢" />
</form>
在JavaScript處作如下更改。
ctx.fillStyle="black";
if ( document.getElementById('linecolor').checked )
ctx.fillStyle="red":
位元組與變數
10進位 |
16進位 |
位元組Byte數的2進位表示 |
|||||||
2進位對應的10進位 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|
|
128 |
64 |
32 |
16 |
8 |
4 |
2 |
1 |
|
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
2 |
2 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
3 |
3 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
4 |
4 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
9 |
9 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
10 |
A |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
11 |
B |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
12 |
C |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
13 |
D |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
15 |
F |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
16 |
10 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
17 |
11 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
1 |
128 |
80 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
255 |
FF |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
'=SUMPRODUCT($C$3:$J$3,C18:J18)=DEC2HEX(A18)
第四週9月28日
<form><b>
選擇速度: <select id="selection">
<option value="10">10</option>
<option value="20">20</option>
<option value="40" selected>40</option>
<option value="100">100</option>
<option value="500">500</option>
</select>
選擇顏色:
<input id="linecolor" type="checkbox">紅色 <!--核取方塊 linecolor -->
<input onclick="draw()" type="button" value="2020年每天通貨走勢" />
</form>
var speedvalue;
var speed = document.getElementById("selection");
speedvalue = speed.options[speed.options.selectedIndex].text;
第五週10月5日
第六週10月12日
網頁指令 | VBA指令 |
聯絡人職稱: | UserForm_Initialize()'起始表單事件設定 |
聯絡人職稱:<select id="ComboBox1"> <option>董事長</option> <option>總經理</option> <option>副總經理</option> <option>財務長</option> <option>人資長</option> </select> | With ComboBox1 .Additem("董事長") .Additem("總經理") .Additem("副總經理") .Additem("財務長") .Additem("人資長") End With |
vba | |
<input type="button"value="按下去"onclick="alert('你是豬頭')">> | vba |
command | vba |
豬狗貓 | vba |
第七週10月19日
表格命令對照
html | vba |
輸入國庫券面額 | textbox |
輸入國庫券面額<input type="text" id="a"> | textbox |
commandbutton | |
<input onclick="alert('你是豬頭!')" type="button" value="按下我" /> | commandbutton |
豬狗貓鼠 | vba |
豬<input type="radio" />狗<input type="radio" />貓<input type="radio" />鼠<input type="radio"> | vba |
豬狗貓鼠 | vba |
豬<input type="radio" name="pet"/>狗<input type="radio" name="pet"/>貓<input type="radio" name="pet"/>鼠<input type="radio" name="pet"> | vba |
vba | |
<select><option>董事長</option><option>總經理</option><option>財務長</option></select> | vba |
EXCEL VBA | |
Private Sub CommandButton1_Click() Dim addnew As Range '定義 變數 addnew 是工作表的一個範圍 If Range("A1").CurrentRegion.Rows.Count = 1 Then Set addnew = Sheets("DataTable").Range("A1").Offset(1, 0) Else Set addnew = Sheets("DataTable").Range("A1").End(xlDown).Offset(1, 0) End If addnew.Offset(0, 0).Value = TextBox1.Text '統一編號 addnew.Offset(0, 1).Value = TextBox2.Text '公司 addnew.Offset(0, 2).Value = TextBox3.Text '聯絡人 addnew.Offset(0, 4).Value = TextBox4.Text '地址 addnew.Offset(0, 3).Value = ComboBox1.Value '聯絡人職位 使用下拉式選單 ListBox1.ColumnCount = 5 '在清單方塊 ListBox1 顯示輸入的資料,5 columns ListBox1.RowSource = "A1:E65536" End Sub Private Sub CommandButton2_Click() End End Sub Private Sub UserForm_Initialize() ComboBox1.AddItem ("董事長") ComboBox1.AddItem ("總經理") ComboBox1.AddItem ("副總經理") ComboBox1.AddItem ("財務長") End Sub |
EXCEL VBA
檔案=>選項=>自訂功能區=>選取「開發人員」 |
第八週2020/10/26
國庫券T-Bill,Treasury Bills,美國財政部Department of the Treasury
國庫券面額$ 天期貼現率 %
價格$(計算中)
參考李顯儀金融市場page 4-12
第十週2020/11/09
YouTube影片編輯
陣列Array
零邊際成本
主動更換主題,讓網頁變化,非常好。
回覆刪除