首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
a = 123
阅读全部 | tony_sgt 贴于 2024年5月21日 09:41     hide bbsi
function G_ClothesMgr:GetClothesByCreatureID(nCreatureId)
local tbClothes = {}
for nClothesId, _ in pairs( self.tbClothes ) do 
local nCId = G_ClothesCfg:GetCreatureId(nClothesId)
if nCreatureId == nCId then 
if G_ClothesCfg:GetWeight(nClothesId) > 0 then 
table.insert( tbClothes,  nClothesId)
end
end
end
阅读全部 | SilverHowie 贴于 2024年5月13日 19:48     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
a = 123
a = "bbb"
print(a)
g = 234 

print(g)
阅读全部 | 菠萝哥 贴于 2024年5月13日 16:34     hide bbsi
# 初始化变量来存储总和和计数
sum_of_numbers = 0
count = 1
 
# 使用while循环从1加到10
while count <= 10:
    sum_of_numbers += count
    count += 1
 
# 输出结果
print("The sum of numbers from 1 to 10 is", sum_of_numbers)
阅读全部 | lin_fan 贴于 2024年5月4日 15:35     hide bbsi
print(3)
阅读全部 | lin_fan 贴于 2024年5月4日 15:29     hide bbsi
print(1)
阅读全部 | lin_fan 贴于 2024年5月4日 15:27     hide bbsi
using System;

class Program
{
    static void Swap(ref int a, ref int b)
    {
        int temp = a;
        a = b;
        b = temp;
    }

    static void Main(string[] args)
......................
阅读全部 | 张晓彤 贴于 2024年5月3日 19:39     hide bbsi
using System;

class Program
{
    static void Swap(ref int a, ref int b)
    {
        int temp = a;
        a = b;
        b = temp;
    }

    static void Main(string[] args)
......................
阅读全部 | 张晓彤 贴于 2024年5月3日 19:38     hide bbsi
上一页 4 5 6 7 8 9 10 11 12 13 下一页